client: fix _reExecPut() allowed for .get()

copy+paste...
This commit is contained in:
Michael Davidsaver
2023-09-26 11:41:27 -07:00
parent 9f6d38de53
commit e09f901e72
+1 -1
View File
@@ -243,7 +243,7 @@ struct GPROp : public OperationBase
}
void _reExecPut(const Value& arg, std::function<void(client::Result&&)>&& resultcb) override final
{
if(op!=Get && op!=Put) {
if(op!=Put) {
throw std::logic_error("reExecPut() only meaningful for .put()");
} else if(!arg) {