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

Commit

Permalink
backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
peroxyacyl committed Mar 2, 2022
1 parent f7549dc commit 28f3df6
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 28f3df6

Please sign in to comment.