diff --git a/concepts.hpp b/concepts.hpp index a72f99a5..243a49ad 100644 --- a/concepts.hpp +++ b/concepts.hpp @@ -83,7 +83,7 @@ namespace cruft::concepts { template - concept swappable = requires (T &&a, T &&b) { swap (a, b); }; + concept swappable = requires (T &&a, T &&b) { std::swap (a, b); }; template < class T > @@ -167,7 +167,7 @@ namespace cruft::concepts { { a.cend () } -> same_as; { a.swap (b) } -> same_as; - { swap (a, b) } -> same_as; + { std::swap (a, b) } -> same_as; { a.size () } -> same_as; { a.max_size () } -> same_as;