[glom/glom-1-28] Remove return in void method.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-28] Remove return in void method.
- Date: Thu, 25 Feb 2016 19:15:32 +0000 (UTC)
commit 71e7039ddef2767bb565dcb805ffc262be66c343
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Feb 9 17:35:05 2016 +0100
Remove return in void method.
Why didn't the compiler catch this?
glom/mode_data/box_data_list.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glom/mode_data/box_data_list.cc b/glom/mode_data/box_data_list.cc
index 88e0d76..8816b24 100644
--- a/glom/mode_data/box_data_list.cc
+++ b/glom/mode_data/box_data_list.cc
@@ -379,12 +379,12 @@ Gnome::Gda::Value Box_Data_List::get_entered_field_data(const sharedptr<const La
void Box_Data_List::set_entered_field_data(const sharedptr<const LayoutItem_Field>& field, const
Gnome::Gda::Value& value)
{
- return m_AddDel.set_value_selected(field, value);
+ m_AddDel.set_value_selected(field, value);
}
void Box_Data_List::set_entered_field_data(const Gtk::TreeModel::iterator& row, const sharedptr<const
LayoutItem_Field>& field, const Gnome::Gda::Value& value)
{
- return m_AddDel.set_value(row, field, value);
+ m_AddDel.set_value(row, field, value);
}
bool Box_Data_List::get_showing_multiple_records() const
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]