Add missing thread include to ctimepoint

This resolves the following error compiling on Ubuntu 22.04:

ctimepoint.cpp: In static member function ‘static void CTimePoint::TaskSleepFor(uint)’:
ctimepoint.cpp:52:27: error: ‘sleep_for’ is not a member of ‘std::this_thread’
   52 |         std::this_thread::sleep_for(timespan);
      |                           ^~~~~~~~~

$ gcc -v
<<snip>>
gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04
pull/6/head
Mark Landis (N6AZX) 3 years ago
parent 5aee5f7b6d
commit bfb5808d0a

@ -25,6 +25,8 @@
#include "main.h"
#include "ctimepoint.h"
#include <thread>
////////////////////////////////////////////////////////////////////////////////////////
// constructor

Loading…
Cancel
Save

Powered by TurnKey Linux.