summaryrefslogtreecommitdiff
path: root/proto_lib/api_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'proto_lib/api_protocol.h')
-rw-r--r--proto_lib/api_protocol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto_lib/api_protocol.h b/proto_lib/api_protocol.h
index bebd401..afa8224 100644
--- a/proto_lib/api_protocol.h
+++ b/proto_lib/api_protocol.h
@@ -25,14 +25,14 @@ struct service_s
{
std::string command, description;
#ifdef DEBUG
- bool operator==(const cmd&);
+ bool operator==(const cmd&) const;
#endif
};
std::string service;
std::list<cmd> cmds;
#ifdef DEBUG
- bool operator==(service_s&);
- bool operator!=(service_s&);
+ bool operator==(const service_s&) const;
+ bool operator!=(const service_s&) const;
#endif
};