Asynchronous GeometryTile deletion (#2051)

Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
This commit is contained in:
mwilsnd
2024-02-28 17:18:08 -05:00
committed by GitHub
parent e3cbdb63a8
commit 4fff8a5d33
80 changed files with 1180 additions and 334 deletions

View File

@@ -1,10 +1,12 @@
#pragma once
#include <string>
#include <cstdint>
#include <cstdlib>
#include <type_traits>
#include <exception>
#include <sstream>
#include <string>
#include <thread>
#include <type_traits>
// Polyfill needed by Qt when building for Android with GCC
#if defined(__ANDROID__) && defined(__GLIBCXX__)
@@ -76,6 +78,10 @@ inline std::string toString(long double t, bool decimal = false) {
return toString(static_cast<double>(t), decimal);
}
inline std::string toString(std::thread::id threadId) {
return (std::ostringstream() << threadId).str();
}
std::string toString(const std::exception_ptr &);
template <class T>