Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
Merge pull request #11 from peroxyacyl/2022.03.02-compat
Browse files Browse the repository at this point in the history
backward compatibility
  • Loading branch information
peroxyacyl authored Mar 2, 2022
2 parents f7549dc + 28f3df6 commit 444c17d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/influxdb-cpp-rest/influxdb_raw_db.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace influxdb {
bool deflate;

public:
db(string_t const& url, string_t const& name, bool deflate);
db(string_t const& url, string_t const& name, bool deflate = false);

/// post queries
void post(string_t const& query);
Expand Down
2 changes: 1 addition & 1 deletion src/influxdb-cpp-rest/influxdb_raw_db_utf8.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace influxdb {
std::unique_ptr<impl> pimpl;

public:
db_utf8(std::string const& url, std::string const& name, bool deflate);
db_utf8(std::string const& url, std::string const& name, bool deflate = false);
~db_utf8();

/// post queries
Expand Down
2 changes: 1 addition & 1 deletion src/influxdb-cpp-rest/influxdb_simple_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace influxdb {
std::unique_ptr<impl> pimpl;

public:
simple_db(std::string const& url, std::string const& name, bool deflate);
simple_db(std::string const& url, std::string const& name, bool deflate = false);
~simple_db();

public:
Expand Down
2 changes: 1 addition & 1 deletion src/influxdb-cpp-rest/influxdb_simple_async_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace influxdb {

public:
simple_db(std::string const& url, std::string const& name);
simple_db(std::string const& url, std::string const& name, unsigned window_max_lines, unsigned window_max_ms, bool deflate);
simple_db(std::string const& url, std::string const& name, unsigned window_max_lines, unsigned window_max_ms, bool deflate = false);
virtual ~simple_db();

public:
Expand Down

0 comments on commit 444c17d

Please sign in to comment.