diff --git a/src/component/gsc.cpp b/src/component/gsc.cpp index 4fafc70..c80d737 100644 --- a/src/component/gsc.cpp +++ b/src/component/gsc.cpp @@ -270,7 +270,7 @@ namespace gsc namespace field { - void add(classid classnum, const std::string& name, + void add(const classid classnum, const std::string& name, const std::function& getter, const std::function& setter) { diff --git a/src/component/gsc.hpp b/src/component/gsc.hpp index 31bdbca..7846caf 100644 --- a/src/component/gsc.hpp +++ b/src/component/gsc.hpp @@ -46,7 +46,7 @@ namespace gsc namespace field { - void add(classid classnum, const std::string& name, + void add(const classid classnum, const std::string& name, const std::function& getter, const std::function& setter); }