We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 013633d commit c30df76Copy full SHA for c30df76
include/boost/dll/detail/posix/program_location_impl.hpp
@@ -32,7 +32,7 @@ namespace boost { namespace dll { namespace detail {
32
33
std::string p;
34
p.resize(size);
35
- if (_NSGetExecutablePath(p.data(), &size) != 0) {
+ if (_NSGetExecutablePath(&p[0], &size) != 0) {
36
ec = std::make_error_code(
37
std::errc::bad_file_descriptor
38
);
0 commit comments