summaryrefslogtreecommitdiffstats
path: root/aclk/schema-wrappers/capability.cc
diff options
context:
space:
mode:
Diffstat (limited to 'aclk/schema-wrappers/capability.cc')
-rw-r--r--aclk/schema-wrappers/capability.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/schema-wrappers/capability.cc b/aclk/schema-wrappers/capability.cc
index 769806f90..af45740a9 100644
--- a/aclk/schema-wrappers/capability.cc
+++ b/aclk/schema-wrappers/capability.cc
@@ -4,7 +4,7 @@
#include "capability.h"
-void capability_set(aclk_lib::v1::Capability *proto_capa, struct capability *c_capa) {
+void capability_set(aclk_lib::v1::Capability *proto_capa, const struct capability *c_capa) {
proto_capa->set_name(c_capa->name);
proto_capa->set_enabled(c_capa->enabled);
proto_capa->set_version(c_capa->version);