summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioSlnParser.h
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2020-03-20 19:51:06 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2020-03-23 21:41:43 (GMT)
commit77616f46817b6527c7e515de547625e554df21f9 (patch)
treef43a007f0d259dce53fd485c8f19a656f81cd94b /Source/cmVisualStudioSlnParser.h
parentada6a3226f678df8cc83b752c06c404336718f43 (diff)
downloadCMake-77616f46817b6527c7e515de547625e554df21f9.zip
CMake-77616f46817b6527c7e515de547625e554df21f9.tar.gz
CMake-77616f46817b6527c7e515de547625e554df21f9.tar.bz2
pass cm::string_view to cmVisualStudioSlnParser::ParseTag()
Diffstat (limited to 'Source/cmVisualStudioSlnParser.h')
-rw-r--r--Source/cmVisualStudioSlnParser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmVisualStudioSlnParser.h b/Source/cmVisualStudioSlnParser.h
index 6c05633..4557cdb 100644
--- a/Source/cmVisualStudioSlnParser.h
+++ b/Source/cmVisualStudioSlnParser.h
@@ -9,6 +9,8 @@
#include <iosfwd>
#include <string>
+#include <cm/string_view>
+
#include <stddef.h>
class cmSlnData;
@@ -97,8 +99,7 @@ protected:
bool ParseKeyValuePair(const std::string& line, ParsedLine& parsedLine,
State& state);
- bool ParseTag(const std::string& fullTag, ParsedLine& parsedLine,
- State& state);
+ bool ParseTag(cm::string_view fullTag, ParsedLine& parsedLine, State& state);
bool ParseValue(const std::string& value, ParsedLine& parsedLine);
};