[glom/glom-1-30] Remove return in void method.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-30] Remove return in void method.
- Date: Thu, 25 Feb 2016 13:31:58 +0000 (UTC)
commit 013c557cf31b20f550806ff501fda6c47d27d872
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 79fcca0..3cb1b81 100644
--- a/glom/mode_data/box_data_list.cc
+++ b/glom/mode_data/box_data_list.cc
@@ -377,12 +377,12 @@ Gnome::Gda::Value Box_Data_List::get_entered_field_data(const std::shared_ptr<co
void Box_Data_List::set_entered_field_data(const std::shared_ptr<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 std::shared_ptr<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]