There was an error while loading. Please reload this page.
1 parent e275e29 commit 1b51b1bCopy full SHA for 1b51b1b
1 file changed
GPU/GPUTracking/Standalone/utils/qconfigrtc.h
@@ -25,11 +25,15 @@
25
template <class T>
26
static std::string qConfigPrintRtc(const T& tSrc, bool useConstexpr)
27
{
28
+#if defined(__cplusplus) && __cplusplus >= 201703L
29
std::stringstream out;
30
#define QCONFIG_PRINT_RTC
31
#include "qconfig.h"
32
#undef QCONFIG_PRINT_RTC
33
return out.str();
34
+#else
35
+ throw std::runtime_error("not supported");
36
+#endif
37
}
38
39
#define QCONFIG_CONVERT_RTC
0 commit comments