summaryrefslogtreecommitdiff
path: root/proto_lib/api_protocol.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-13 18:05:13 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-13 18:05:13 +0200
commit49729a7593320662545b7c795f028d0f87827b0f (patch)
tree7bba69ac6cca15c29d1187c7267bf917fae14fa3 /proto_lib/api_protocol.h
parente255c37eca94d4d9c23f689b473b106575b9e2fa (diff)
proto lib fixes
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
};