Skip to content

Commit 2820a28

Browse files
committed
fixup! Add an operator and basic types exercise for the first day.
1 parent 2314a19 commit 2820a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/basicTypes/PrintHelper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <string>
77

88
#ifdef _MSC_VER
9-
std::string demangle(std::string_view input) { return input; }
9+
std::string demangle(std::string_view input) { return std::string{input}; }
1010
#else
1111
#include <cxxabi.h>
1212
std::string demangle(std::string_view input) {

0 commit comments

Comments
 (0)