Skip to content

Commit 17ad137

Browse files
authored
Fix mingw compile issue (#466)
1 parent 93cb305 commit 17ad137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yasio/string.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class basic_string {
7070
using my_type = basic_string<_Elem, _Alloc>;
7171
static const size_t npos = -1;
7272
basic_string() {}
73-
basic_string(nullptr_t) = delete;
73+
basic_string(::std::nullptr_t) = delete;
7474
explicit basic_string(size_type count) { resize(static_cast<size_type>(count)); }
7575
basic_string(size_type count, const_reference val) { resize(static_cast<size_type>(count), val); }
7676
template <typename _Iter, ::yasio::enable_if_t<::yasio::is_iterator<_Iter>::value, int> = 0>

0 commit comments

Comments
 (0)