[glom] test_python_execute_func_with_record_field_types: Take a map parameter by reference.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] test_python_execute_func_with_record_field_types: Take a map parameter by reference.
- Date: Wed, 30 Mar 2016 13:17:00 +0000 (UTC)
commit ddb9f40773fb6b657474418a82b9c24ea6bb607b
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Mar 30 11:55:29 2016 +0200
test_python_execute_func_with_record_field_types: Take a map parameter by reference.
Found by cppcheck.
..._python_execute_func_with_record_field_types.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/python/test_python_execute_func_with_record_field_types.cc
b/tests/python/test_python_execute_func_with_record_field_types.cc
index d13f54c..78d972c 100644
--- a/tests/python/test_python_execute_func_with_record_field_types.cc
+++ b/tests/python/test_python_execute_func_with_record_field_types.cc
@@ -35,7 +35,7 @@ static bool get_field_result(const std::shared_ptr<Glom::Document>& document,
const Glib::ustring& table_name,
const std::shared_ptr<const Glom::Field>& primary_key_field,
const Gnome::Gda::Value& primary_key_value,
- const Glom::type_map_fields field_values,
+ const Glom::type_map_fields& field_values,
const Glib::ustring& field_name, const Gnome::Gda::Value& expected_value)
{
const Glib::ustring calculation = "return record[\"" + field_name + "\"]";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]