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 088c7bc commit e74d370Copy full SHA for e74d370
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