Skip to content

Commit

Permalink
Merge pull request #1797 from Expensify/tyler-implicit-copy-constructors
Browse files Browse the repository at this point in the history
Explicitly add back deprecated default constructors
  • Loading branch information
youssef-lr authored Jul 5, 2024
2 parents aae6dc3 + e7e8724 commit 75f6ee0
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 75f6ee0

Please sign in to comment.