Просмотр исходного кода

common/concepts: Move <type_traits> include out of the Common namespace

This is a compiler/linker error waiting to happen.
Lioncash 6 лет назад
Родитель
Сommit
999fc2fece
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/common/concepts.h

+ 2 - 2
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) {