[nemiver] 689458 - Crash when copying variable value



commit ba3149cda2ad3b3136a8e74d26ed878e54b21d5f
Author: Dodji Seketeli <dodji seketeli org>
Date:   Sun Dec 2 10:02:07 2012 +0100

    689458 - Crash when copying variable value
    
    	* src/dbgengine/nmv-debugger-utils.h (dump_variable_value): Make
    	the variable parameter const, as in the definition.

 src/dbgengine/nmv-debugger-utils.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/dbgengine/nmv-debugger-utils.h b/src/dbgengine/nmv-debugger-utils.h
index ca21063..e2c1804 100644
--- a/src/dbgengine/nmv-debugger-utils.h
+++ b/src/dbgengine/nmv-debugger-utils.h
@@ -63,11 +63,11 @@ void dump_variable_value (const IDebugger::Variable& a_var,
                           ostream_type &a_os,
                           bool a_print_var_name);
 
-void dump_variable_value (IDebugger::Variable& a_var,
+void dump_variable_value (const IDebugger::Variable& a_var,
                           int a_indent_num,
                           std::string &a_out_str);
 
-void dump_variable_value (IDebugger::Variable& a_var);
+void dump_variable_value (const IDebugger::Variable& a_var);
 
 template<class ostream_type>
 ostream_type&



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]