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 1da7b76 commit f112d19Copy full SHA for f112d19
examples/deprecation-warning/deprecation-warning.cpp
@@ -12,7 +12,7 @@ int main(int argc, char** argv) {
12
}
13
14
// Get only the program name from the full path
15
- auto pos = filename.find_last_of('/');
+ auto pos = filename.find_last_of("/\\");
16
if (pos != std::string::npos) {
17
filename = filename.substr(pos+1);
18
0 commit comments