Преглед изворни кода

fix(string): remove string custom constructors

greatbridf пре 2 година
родитељ
комит
4eca7c8ff6
1 измењених фајлова са 0 додато и 8 уклоњено
  1. 0 8
      include/types/string.hpp

+ 0 - 8
include/types/string.hpp

@@ -27,14 +27,6 @@ public:
     {
         this->append(str, n);
     }
-    string(const string& str)
-        : inner_vector_type((const inner_vector_type&)str)
-    {
-    }
-    string(string&& str)
-        : inner_vector_type((inner_vector_type &&) move(str))
-    {
-    }
     string& append(const char* str, size_type n = npos)
     {
         this->pop_back();