From cfbe792737caf2571c2f9fc3e296336068318b69 Mon Sep 17 00:00:00 2001 From: denes Date: Tue, 6 Mar 2018 11:52:15 +0100 Subject: [PATCH] every day is assert day --- graph_browser.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/graph_browser.cpp b/graph_browser.cpp index dab9f94..cf1482a 100644 --- a/graph_browser.cpp +++ b/graph_browser.cpp @@ -1,10 +1,20 @@ #include -#include + + +// every day is assert day +#ifndef NDEBUG + #include +#else + #define NDEBUG + #include + #undef NDEBUG +#endif #include #include "graph_browser.hpp" + namespace { std::string historyToString(const std::deque& d, size_t max_length) {