Browse Source

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

This is a compiler/linker error waiting to happen.
nce_cpp
Lioncash 5 years ago
parent
commit
e478c61eeb
  1. 4
      src/common/concepts.h

4
src/common/concepts.h

@ -4,10 +4,10 @@
#pragma once #pragma once
namespace Common {
#include <type_traits> #include <type_traits>
namespace Common {
// Check if type is like an STL container // Check if type is like an STL container
template <typename T> template <typename T>
concept IsSTLContainer = requires(T t) { concept IsSTLContainer = requires(T t) {

Loading…
Cancel
Save