From ceeb3e12e044bab5c8a62f6218bcc5c0979e1a84 Mon Sep 17 00:00:00 2001 From: Marcel Kost Date: Fri, 24 Apr 2020 16:09:45 +0200 Subject: [PATCH] Remove unused using-declaration for `error_code` `boost::system::error_code` is included in the namespace, even though it is not even used in this file. The problem I encounter because of this: When configuring `boost/chrono` to be header-only, the `error_code` symbol is not included anymore and the `cpu_timer.cpp` doesn't compile. --- src/cpu_timer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cpu_timer.cpp b/src/cpu_timer.cpp index 82a8d7b..fd6f2bc 100644 --- a/src/cpu_timer.cpp +++ b/src/cpu_timer.cpp @@ -34,7 +34,6 @@ using boost::timer::nanosecond_type; using boost::timer::cpu_times; -using boost::system::error_code; namespace {