From e7e872436f489fc97cd793133151b0a7329ec0fa Mon Sep 17 00:00:00 2001 From: Tyler Karaszewski Date: Thu, 4 Jul 2024 12:59:20 -0700 Subject: [PATCH] Explicitly add back deprecated default constructors --- libstuff/SQResult.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libstuff/SQResult.h b/libstuff/SQResult.h index 1ecd3560f..f76da34ae 100644 --- a/libstuff/SQResult.h +++ b/libstuff/SQResult.h @@ -10,6 +10,7 @@ class SQResultRow : public vector { public: SQResultRow(); SQResultRow(SQResult& result, size_t count = 0); + SQResultRow(SQResultRow const&) = default; void push_back(const string& s); string& operator[](const size_t& key); const string& operator[](const size_t& key) const; @@ -27,6 +28,9 @@ class SQResult { vector headers; vector rows; + SQResult() = default; + SQResult(SQResult const&) = default; + // Accessors bool empty() const; size_t size() const;