summaryrefslogtreecommitdiff
path: root/lib/persistance.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-04-25 19:19:28 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-07 16:41:37 +0000
commitabd7f486a0fb34320e3afae6780677cfd4ff85cc (patch)
treef2633cc76e78e35300a7dafdf3bce1bd8bcf2b7b /lib/persistance.cpp
parentRemove spare semi colons (diff)
downloadilt-abd7f486a0fb34320e3afae6780677cfd4ff85cc.tar.bz2
ilt-abd7f486a0fb34320e3afae6780677cfd4ff85cc.tar.xz
ilt-abd7f486a0fb34320e3afae6780677cfd4ff85cc.zip
Erring toward complete JSON loader
Diffstat (limited to 'lib/persistance.cpp')
-rw-r--r--lib/persistance.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/persistance.cpp b/lib/persistance.cpp
index 7539b44..bdcbe9f 100644
--- a/lib/persistance.cpp
+++ b/lib/persistance.cpp
@@ -47,8 +47,8 @@ namespace Persistanace {
throw std::runtime_error("Unexpected array");
}
- SelectionPtr
- Selection::BeginObject()
+ void
+ Selection::BeginObject(Stack &)
{
throw std::runtime_error("Unexpected object");
}
@@ -62,7 +62,12 @@ namespace Persistanace {
SelectionPtr
Selection::select(const std::string &)
{
- throw std::runtime_error("Unexpected persist");
+ throw std::runtime_error("Unexpected select");
+ }
+
+ void
+ Selection::EndObject(Stack &)
+ {
}
static_assert(!SelectionT<float>::ArrayLike);