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

fix(tuple): make tuple copy & move ctor. constexpr

greatbridf пре 1 година
родитељ
комит
15063be59a
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      gblibstdc++/include/tuple

+ 2 - 2
gblibstdc++/include/tuple

@@ -257,8 +257,8 @@ public:
     
     // TODO: std::pair constructors
 
-    tuple(const tuple&) = default;
-    tuple(tuple&&) = default;
+    constexpr tuple(const tuple&) = default;
+    constexpr tuple(tuple&&) = default;
 
     constexpr tuple& operator=(const tuple& other) = default;
     constexpr tuple& operator=(tuple&& other) = default;