summaryrefslogtreecommitdiffstats
path: root/src/Group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Group.cpp')
-rw-r--r--src/Group.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Group.cpp b/src/Group.cpp
index 5f1f25782..725740905 100644
--- a/src/Group.cpp
+++ b/src/Group.cpp
@@ -7,7 +7,7 @@
-void cGroup::AddCommand( AString a_Command )
+void cGroup::AddCommand( const AString & a_Command )
{
m_Commands[ a_Command ] = true;
}
@@ -16,7 +16,7 @@ void cGroup::AddCommand( AString a_Command )
-void cGroup::AddPermission( AString a_Permission )
+void cGroup::AddPermission( const AString & a_Permission )
{
m_Permissions[ a_Permission ] = true;
}
@@ -38,4 +38,4 @@ void cGroup::InheritFrom( cGroup* a_Group )
void cGroup::ClearPermission()
{
m_Permissions.clear();
-} \ No newline at end of file
+}