From f894c96b46a112cbfefa5648ac910a3d98202f60 Mon Sep 17 00:00:00 2001 From: alice <58637860+alicealys@users.noreply.github.com> Date: Tue, 9 Nov 2021 22:48:15 +0100 Subject: [PATCH] Small change --- src/component/gsc.cpp | 2 +- src/component/gsc.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }