diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2009-07-03 19:46:01 -0400 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2009-07-03 19:46:01 -0400 |
commit | 782472fd4f208ed59b0a6b353a63eb5ebd3e7e7f (patch) | |
tree | 9f665b1778f58a3aa8e6e8d963a94e4a6ffb873b | |
parent | f2802cf768a4e10247f5ad94a67b020a954ebd70 (diff) | |
download | glibmm-782472fd4f208ed59b0a6b353a63eb5ebd3e7e7f.tar.gz |
Use references to store casts in glibmm_valuearray test.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/glibmm_valuearray/main.cc | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2009-07-03 José Alburquerque <jaalburqu@svn.gnome.org> + + * tests/glibmm_valuearray/main.cc: Use references to store casts in + glibmm_valuearray test. + 2009-06-30 Jonathon Jongsma <jonathon@quotidian.org> * glib/src/optiongroup.ccg: diff --git a/tests/glibmm_valuearray/main.cc b/tests/glibmm_valuearray/main.cc index 13357d4a..a9054601 100644 --- a/tests/glibmm_valuearray/main.cc +++ b/tests/glibmm_valuearray/main.cc @@ -3,8 +3,8 @@ int on_compare(const Glib::ValueBase& v1, const Glib::ValueBase& v2) { - const Glib::Value<int> intVal1 = static_cast< const Glib::Value<int>& >(v1); - const Glib::Value<int> intVal2 = static_cast< const Glib::Value<int>& >(v2); + const Glib::Value<int>& intVal1 = static_cast< const Glib::Value<int>& >(v1); + const Glib::Value<int>& intVal2 = static_cast< const Glib::Value<int>& >(v2); int int1 = intVal1.get(); int int2 = intVal2.get(); |