Skip to content
Snippets Groups Projects
Commit f63323b8 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Updates to get const correctness up to snuff for c++17

parent 274216c8
No related branches found
No related tags found
No related merge requests found
......@@ -38,9 +38,9 @@ namespace IRDB_SDK
public:
virtual ~DBinterface_t() {};
virtual void issueQuery(string query) = 0;
virtual void issueQuery(const string& query) = 0;
virtual void moveToNextRow() = 0;
virtual string getResultColumn(string colname) = 0;
virtual string getResultColumn(const string& colname) = 0;
virtual bool isDone() = 0;
virtual void commit() = 0;
......
......@@ -27,10 +27,10 @@ namespace IRDB_SDK
public:
virtual ~pqxxDB_t() { };
virtual void issueQuery(string query) = 0;
virtual void issueQuery(const string& query) = 0;
virtual void issueQuery(stringstream & query) = 0;
virtual void moveToNextRow() = 0;
virtual string getResultColumn(string colname) = 0;
virtual string getResultColumn(const string& colname) = 0;
virtual bool isDone() = 0;
virtual void commit() = 0;
virtual pqxx::connection&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment