diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-18 14:24:51 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-18 14:24:54 -0400 |
commit | 999fc2feced62a9bbcf762ce7450c84117175864 (patch) | |
tree | 48e90034c1f1061127d2fcbe383219c7d10c5fd9 /src/common/concepts.h | |
parent | bea9ed2548abfa738d3381a152e7ece42efbf08d (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.h | 4 |
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) { |