diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-04-28 13:55:05 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-07 16:41:37 +0000 |
commit | fc4ee249e0e4dd1b904080c817153e61c670acb1 (patch) | |
tree | 090e498888a928c374e08244c63e68e938c4269b /lib/persistance.cpp | |
parent | Simplify object creation code (diff) | |
download | ilt-fc4ee249e0e4dd1b904080c817153e61c670acb1.tar.bz2 ilt-fc4ee249e0e4dd1b904080c817153e61c670acb1.tar.xz ilt-fc4ee249e0e4dd1b904080c817153e61c670acb1.zip |
Tidy case of function names
Diffstat (limited to 'lib/persistance.cpp')
-rw-r--r-- | lib/persistance.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/persistance.cpp b/lib/persistance.cpp index c21a6b1..0dd7cba 100644 --- a/lib/persistance.cpp +++ b/lib/persistance.cpp @@ -18,37 +18,37 @@ namespace Persistanace { } void - Selection::operator()(float &) + Selection::setValue(float &) { throw std::runtime_error("Unexpected float"); } void - Selection::operator()(bool &) + Selection::setValue(bool &) { throw std::runtime_error("Unexpected bool"); } void - Selection::operator()(const std::nullptr_t &) + Selection::setValue(const std::nullptr_t &) { throw std::runtime_error("Unexpected null"); } void - Selection::operator()(std::string &) + Selection::setValue(std::string &) { throw std::runtime_error("Unexpected string"); } void - Selection::BeginArray(Stack &) + Selection::beginArray(Stack &) { throw std::runtime_error("Unexpected array"); } void - Selection::BeginObject(Stack &) + Selection::beginObject(Stack &) { throw std::runtime_error("Unexpected object"); } @@ -66,7 +66,7 @@ namespace Persistanace { } void - Selection::EndObject(Stack &) + Selection::endObject(Stack &) { } } |