Remove the version_info copy constructor.
Its behaviour was identical to the compiler generated version.
This commit is contained in:
parent
1193516e96
commit
870ab27990
2 changed files with 0 additions and 9 deletions
|
@ -19,14 +19,6 @@
|
|||
|
||||
#include <cassert>
|
||||
|
||||
version_info::version_info(const version_info& o)
|
||||
: nums_ (o.nums_),
|
||||
special_ (o.special_),
|
||||
special_separator_ (o.special_separator_),
|
||||
sane_ (o.sane_)
|
||||
{
|
||||
}
|
||||
|
||||
version_info::version_info()
|
||||
: nums_(3,0), special_(""), special_separator_('\0'), sane_(true)
|
||||
{
|
||||
|
|
|
@ -35,7 +35,6 @@ public:
|
|||
struct not_sane_exception {};
|
||||
|
||||
version_info(); /**< Default constructor. */
|
||||
version_info(const version_info&); /**< Copy constructor. */
|
||||
version_info(const std::string&); /**< String constructor. */
|
||||
|
||||
/** Simple list constructor. */
|
||||
|
|
Loading…
Add table
Reference in a new issue