aboutsummaryrefslogtreecommitdiff
path: root/src/common/concepts.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-18 14:24:51 -0400
committerLioncash <mathew1800@gmail.com>2020-08-18 14:24:54 -0400
commit999fc2feced62a9bbcf762ce7450c84117175864 (patch)
tree48e90034c1f1061127d2fcbe383219c7d10c5fd9 /src/common/concepts.h
parentbea9ed2548abfa738d3381a152e7ece42efbf08d (diff)
common/concepts: Move <type_traits> include out of the Common namespace
This is a compiler/linker error waiting to happen.
Diffstat (limited to 'src/common/concepts.h')
-rw-r--r--src/common/concepts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/concepts.h b/src/common/concepts.h
index 54252e7786..5bef3ad676 100644
--- a/src/common/concepts.h
+++ b/src/common/concepts.h
@@ -4,10 +4,10 @@
#pragma once
-namespace Common {
-
#include <type_traits>
+namespace Common {
+
// Check if type is like an STL container
template <typename T>
concept IsSTLContainer = requires(T t) {