minor refactor

This commit is contained in:
MihailRis
2024-04-08 12:25:00 +03:00
parent 95fedfa3a3
commit 3655464b6f
8 changed files with 85 additions and 73 deletions
+5 -5
View File
@@ -36,13 +36,13 @@ namespace toml {
void add(std::string name, double* ptr);
void add(std::string name, std::string* ptr);
const Field* field(std::string name) const;
const Field* field(const std::string& name) const;
void set(std::string name, double value);
void set(std::string name, bool value);
void set(std::string name, std::string value);
void set(const std::string& name, double value);
void set(const std::string& name, bool value);
void set(const std::string& name, std::string value);
std::string getName() const;
const std::string& getName() const;
const std::vector<std::string>& keys() const;
};