Commit 59919c4d authored by Eric Fiselier's avatar Eric Fiselier
Browse files

[libc++] Fix Windows DLL build for string.

We need to mark string::npos with _LIBCPP_FUNC_VIS on the first
in-class declaration, otherwise it might get ignored
parent 5f8e4121
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -785,6 +785,7 @@ private:
    __compressed_pair<__rep, allocator_type> __r_;

public:
    _LIBCPP_FUNC_VIS
    static const size_type npos = -1;

    _LIBCPP_INLINE_VISIBILITY basic_string()