From 1a0925c7f078828234ec1aa4dc9484219bc7dee3 Mon Sep 17 00:00:00 2001 From: Florian Schmaus <flow@cs.fau.de> Date: Mon, 12 Apr 2021 15:48:07 +0200 Subject: [PATCH] [Common] Add IWYU 'keep' pgrama to chrono include For some reason, my IWYU wants this include to be removed. --- emper/Common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emper/Common.hpp b/emper/Common.hpp index c404def4..351a194b 100644 --- a/emper/Common.hpp +++ b/emper/Common.hpp @@ -36,7 +36,7 @@ using func_t = std::function<void()>; using WORD = unsigned int; #ifdef EMPER_STATS -#include <chrono> +#include <chrono> // IWYU pragma: keep #define TIME_NS(code, record_func) \ auto _time_ns_start = std::chrono::high_resolution_clock::now(); \ code; \ -- GitLab