CLI
- Added constructors to match the overloaded ::attribute methods.
This commit is contained in:
14
src/CLI.cpp
14
src/CLI.cpp
@@ -56,6 +56,20 @@ A::A (const std::string& name, const std::string& raw)
|
||||
attribute ("raw", raw);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
A::A (const std::string& name, const int raw)
|
||||
{
|
||||
_name = name;
|
||||
attribute ("raw", raw);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
A::A (const std::string& name, const double raw)
|
||||
{
|
||||
_name = name;
|
||||
attribute ("raw", raw);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
A::~A ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user