Skip to content

Commit 11d3571

Browse files
committed
Remove deprecated InfluxDB::flushBuffer() and InfluxDBException ctor (#165)
1 parent 350bae0 commit 11d3571

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

include/InfluxDB.h

-6
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,6 @@ namespace influxdb
7070
/// Flushes points batched (this can also happens when buffer is full)
7171
void flushBatch();
7272

73-
/// \deprecated use \ref flushBatch() instead - will be removed in v0.8.0
74-
[[deprecated("Use flushBatch() instead - will be removed in v0.8.0")]] inline void flushBuffer()
75-
{
76-
flushBatch();
77-
}
78-
7973
/// Enables points batching
8074
/// \param size
8175
void batchOf(std::size_t size = 32);

include/InfluxDBException.h

-7
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ namespace influxdb
3939
class INFLUXDB_EXPORT InfluxDBException : public std::runtime_error
4040
{
4141
public:
42-
/// \deprecated Use InfluxDBException(const std::string&) instead - will be removed in v0.8.0
43-
[[deprecated("Use InfluxDBException(const std::string&) instead - will be removed in v0.8.0")]] InfluxDBException(const std::string& source, const std::string& message)
44-
: std::runtime_error::runtime_error(
45-
"influx-cxx [" + source + "]: " + message)
46-
{
47-
}
48-
4942
explicit InfluxDBException(const std::string& message)
5043
: std::runtime_error::runtime_error(message)
5144
{

0 commit comments

Comments
 (0)