diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-03 19:33:21 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-03 19:37:33 +0000 |
commit | ba2c82e2f53bee8db583a54b0020ac3620a32d9c (patch) | |
tree | a754f6a1cb1e86dba7ab33ae8687837329f56842 /include/anope.h | |
parent | 2c18601d8f3a3b5ab8ddb3ecdd90a2c69c7fbc88 (diff) |
Fix some minor issues discovered whilst working on 2.1.
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h index fe2b96a42..ccffa8c6c 100644 --- a/include/anope.h +++ b/include/anope.h @@ -54,6 +54,9 @@ namespace Anope string(const ci::string &_str) : _string(_str.c_str()) { } string(const string &_str, size_type pos, size_type n = npos) : _string(_str._string, pos, n) { } template <class InputIterator> string(InputIterator first, InputIterator last) : _string(first, last) { } +#if __cplusplus >= 201103L + string(const string &) = default; +#endif /** * Assignment operators, so any type of string can be assigned to this class. |