From 87ef92507f5a34a46cb1ec3961670b9822c74cdb Mon Sep 17 00:00:00 2001 From: "Jack (PC)" Date: Tue, 7 Mar 2023 16:58:30 -0500 Subject: [PATCH] + C++14 support as monotonic_clock is replaced by steady_clock after C++11 --- Examples/RGB-D-Inertial/rgbd_inertial_realsense_D435i.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Examples/RGB-D-Inertial/rgbd_inertial_realsense_D435i.cc b/Examples/RGB-D-Inertial/rgbd_inertial_realsense_D435i.cc index 3d186e5dcd..cb73d28aa7 100644 --- a/Examples/RGB-D-Inertial/rgbd_inertial_realsense_D435i.cc +++ b/Examples/RGB-D-Inertial/rgbd_inertial_realsense_D435i.cc @@ -345,11 +345,7 @@ int main(int argc, char **argv) { if(!image_ready) cond_image_rec.wait(lk); -#ifdef COMPILEDWITHC11 std::chrono::steady_clock::time_point time_Start_Process = std::chrono::steady_clock::now(); -#else - std::chrono::monotonic_clock::time_point time_Start_Process = std::chrono::monotonic_clock::now(); -#endif fs = fsSLAM;