Update C++ style linting

This commit is contained in:
Rob Loach
2021-05-28 12:59:37 -04:00
parent 8efb70ed64
commit 6550aef05d
17 changed files with 52 additions and 48 deletions

View File

@@ -11,12 +11,13 @@
*
*******************************************************************************/
#include "raylib-cpp.hpp"
#include <thread> // C++11 standard library threads
#include <atomic> // C++ atomic data types
#include <chrono> // For: chrono::steady_clock::now()
#include <system_error> // May be thrown by thread c'tor
#include "raylib-cpp.hpp"
// Using C++ std::atomic_bool (aka. std::atomic<bool>) for synchronization.
// n.b. A plain built-in type can't be used for inter-thread synchronization
std::atomic_bool dataLoaded{false};