From a9e6ac084bf46054e667381322222a3c8b2e2ef5 Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Thu, 28 Dec 2017 00:41:32 +0300 Subject: [PATCH] Older compiler build --- sample/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sample/main.cpp b/sample/main.cpp index aef3d2a..b2e694f 100644 --- a/sample/main.cpp +++ b/sample/main.cpp @@ -231,9 +231,11 @@ int main(int argc, char* argv[]) EASY_MAIN_THREAD; profiler::startListen(); +#ifdef EASY_CONSTEXPR_AVAILABLE constexpr int grrr[] {2, -3, 4}; auto pppp = &grrr; EASY_ARRAY("threads count", grrr, 3, false, true, "blabla", profiler::colors::Blue/*, EASY_VIN("threads count")*/, profiler::OFF); +#endif int* intPtr = new int(2); EASY_VALUE("count", *intPtr);