| commit | 59919c4d6b6370da7133bbca0d31844e21646bb1 | [log] [tgz] |
|---|---|---|
| author | Eric Fiselier <eric@efcs.ca> | Thu Jan 16 15:00:34 2020 -0500 |
| committer | Eric Fiselier <eric@efcs.ca> | Thu Jan 16 15:01:12 2020 -0500 |
| tree | a93acc28f8c142a21eb879f403ddabedd8e5055c | |
| parent | 5f8e4121882b61d289237bb27636c76a030a9627 [diff] [blame] |
[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
diff --git a/libcxx/include/string b/libcxx/include/string index 2556301..313ef9f 100644 --- a/libcxx/include/string +++ b/libcxx/include/string
@@ -785,6 +785,7 @@ __compressed_pair<__rep, allocator_type> __r_; public: + _LIBCPP_FUNC_VIS static const size_type npos = -1; _LIBCPP_INLINE_VISIBILITY basic_string()