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

Commit 444c17d

Browse files
authored
Merge pull request #11 from peroxyacyl/2022.03.02-compat
backward compatibility
2 parents f7549dc + 28f3df6 commit 444c17d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/influxdb-cpp-rest/influxdb_raw_db.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace influxdb {
2525
bool deflate;
2626

2727
public:
28-
db(string_t const& url, string_t const& name, bool deflate);
28+
db(string_t const& url, string_t const& name, bool deflate = false);
2929

3030
/// post queries
3131
void post(string_t const& query);

src/influxdb-cpp-rest/influxdb_raw_db_utf8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace influxdb {
1616
std::unique_ptr<impl> pimpl;
1717

1818
public:
19-
db_utf8(std::string const& url, std::string const& name, bool deflate);
19+
db_utf8(std::string const& url, std::string const& name, bool deflate = false);
2020
~db_utf8();
2121

2222
/// post queries

src/influxdb-cpp-rest/influxdb_simple_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace influxdb {
1919
std::unique_ptr<impl> pimpl;
2020

2121
public:
22-
simple_db(std::string const& url, std::string const& name, bool deflate);
22+
simple_db(std::string const& url, std::string const& name, bool deflate = false);
2323
~simple_db();
2424

2525
public:

src/influxdb-cpp-rest/influxdb_simple_async_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace influxdb {
2121

2222
public:
2323
simple_db(std::string const& url, std::string const& name);
24-
simple_db(std::string const& url, std::string const& name, unsigned window_max_lines, unsigned window_max_ms, bool deflate);
24+
simple_db(std::string const& url, std::string const& name, unsigned window_max_lines, unsigned window_max_ms, bool deflate = false);
2525
virtual ~simple_db();
2626

2727
public:

0 commit comments

Comments
 (0)