Skip to content

Commit

Permalink
Explicitly add back deprecated default constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerkaraszewski committed Jul 4, 2024
1 parent 92aaa14 commit e7e8724
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libstuff/SQResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class SQResultRow : public vector<string> {
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;
Expand All @@ -27,6 +28,9 @@ class SQResult {
vector<string> headers;
vector<SQResultRow> rows;

SQResult() = default;
SQResult(SQResult const&) = default;

// Accessors
bool empty() const;
size_t size() const;
Expand Down

0 comments on commit e7e8724

Please sign in to comment.