From e09f901e72d7802194f7ddcf6e853569aa11c8dc Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 26 Sep 2023 11:41:27 -0700 Subject: [PATCH] client: fix _reExecPut() allowed for .get() copy+paste... --- src/clientget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clientget.cpp b/src/clientget.cpp index 431156a..2483547 100644 --- a/src/clientget.cpp +++ b/src/clientget.cpp @@ -243,7 +243,7 @@ struct GPROp : public OperationBase } void _reExecPut(const Value& arg, std::function&& resultcb) override final { - if(op!=Get && op!=Put) { + if(op!=Put) { throw std::logic_error("reExecPut() only meaningful for .put()"); } else if(!arg) {