Const correctness and const-ref in Crypto and elsewhere.

This commit is contained in:
John Hood
2015-12-25 22:18:04 -05:00
parent 13928e9c10
commit 6abd4739de
16 changed files with 46 additions and 46 deletions
+2 -2
View File
@@ -170,7 +170,7 @@ DispatchRegistry & Terminal::get_global_dispatch_registry( void )
}
static void register_function( Function_Type type,
std::string dispatch_chars,
const std::string & dispatch_chars,
Function f )
{
switch ( type ) {
@@ -186,7 +186,7 @@ static void register_function( Function_Type type,
}
}
Function::Function( Function_Type type, std::string dispatch_chars,
Function::Function( Function_Type type, const std::string & dispatch_chars,
void (*s_function)( Framebuffer *, Dispatcher * ),
bool s_clears_wrap_state )
: function( s_function ), clears_wrap_state( s_clears_wrap_state )