summaryrefslogtreecommitdiff
path: root/src/guiTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/guiTable.h')
-rw-r--r--src/guiTable.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/guiTable.h b/src/guiTable.h
index 4d5b39166..9fbe1c9da 100644
--- a/src/guiTable.h
+++ b/src/guiTable.h
@@ -74,11 +74,10 @@ public:
std::string name;
std::string value;
- Option(const std::string &name_, const std::string &value_)
- {
- name = name_;
- value = value_;
- }
+ Option(const std::string &name_, const std::string &value_) :
+ name(name_),
+ value(value_)
+ {}
};
/*