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) {