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;