mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-04 14:02:45 +01:00
common/concepts: Move <type_traits> include out of the Common namespace
This is a compiler/linker error waiting to happen.
This commit is contained in:
parent
bea9ed2548
commit
999fc2fece
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue