aboutsummaryrefslogtreecommitdiff
path: root/include/cru/toml/TomlParser.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-10-17 09:46:56 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-17 09:46:56 +0800
commit9e4419826b3e23c63567591701a2834a837da98e (patch)
tree763838a83850f5cb07cff43915aa6be3a689bef0 /include/cru/toml/TomlParser.h
parenta6b5b8b879a9a587ec0ad605722d5d6428d5e68c (diff)
downloadcru-9e4419826b3e23c63567591701a2834a837da98e.tar.gz
cru-9e4419826b3e23c63567591701a2834a837da98e.tar.bz2
cru-9e4419826b3e23c63567591701a2834a837da98e.zip
Toml remove String.
Diffstat (limited to 'include/cru/toml/TomlParser.h')
-rw-r--r--include/cru/toml/TomlParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/toml/TomlParser.h b/include/cru/toml/TomlParser.h
index 76c270c3..b6532931 100644
--- a/include/cru/toml/TomlParser.h
+++ b/include/cru/toml/TomlParser.h
@@ -14,7 +14,7 @@ class CRU_TOML_API TomlParsingException : public Exception {
class CRU_TOML_API TomlParser {
public:
- explicit TomlParser(String input);
+ explicit TomlParser(std::string input);
CRU_DELETE_COPY(TomlParser)
CRU_DELETE_MOVE(TomlParser)
@@ -29,7 +29,7 @@ class CRU_TOML_API TomlParser {
void DoParse(TomlDocument& document);
private:
- String input_;
+ std::string input_;
std::optional<TomlDocument> cache_;
};