From fc4ee249e0e4dd1b904080c817153e61c670acb1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 28 Apr 2021 13:55:05 +0100 Subject: Tidy case of function names --- lib/persistance.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/persistance.cpp') 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 &) { } } -- cgit v1.2.3