We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2314a19 commit 2820a28Copy full SHA for 2820a28
exercises/basicTypes/PrintHelper.h
@@ -6,7 +6,7 @@
6
#include <string>
7
8
#ifdef _MSC_VER
9
-std::string demangle(std::string_view input) { return input; }
+std::string demangle(std::string_view input) { return std::string{input}; }
10
#else
11
#include <cxxabi.h>
12
std::string demangle(std::string_view input) {
0 commit comments