git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added missing include.
[stg.git]
/
projects
/
sgconf
/
options.cpp
diff --git
a/projects/sgconf/options.cpp
b/projects/sgconf/options.cpp
index 6fddaf38583a4e5462a69426d5210fcc000d479a..a079e1b18f835467772b6c60e7e3e3dd89aefda2 100644
(file)
--- a/
projects/sgconf/options.cpp
+++ b/
projects/sgconf/options.cpp
@@
-66,6
+66,15
@@
OPTION::~OPTION()
delete m_action;
}
delete m_action;
}
+OPTION & OPTION::operator=(const OPTION & rhs)
+{
+m_shortName = rhs.m_shortName;
+m_longName = rhs.m_longName;
+m_action = rhs.m_action->Clone();
+m_description = rhs.m_description;
+return *this;
+}
+
void OPTION::Help(size_t level) const
{
if (!m_action)
void OPTION::Help(size_t level) const
{
if (!m_action)