Skip to content

Remove deprecated InfluxDB::flushBuffer() and InfluxDBException ctor #249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions include/InfluxDB.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ namespace influxdb
/// Flushes points batched (this can also happens when buffer is full)
void flushBatch();

/// \deprecated use \ref flushBatch() instead - will be removed in v0.8.0
[[deprecated("Use flushBatch() instead - will be removed in v0.8.0")]] inline void flushBuffer()
{
flushBatch();
}

/// Enables points batching
/// \param size
void batchOf(std::size_t size = 32);
Expand Down
7 changes: 0 additions & 7 deletions include/InfluxDBException.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ namespace influxdb
class INFLUXDB_EXPORT InfluxDBException : public std::runtime_error
{
public:
/// \deprecated Use InfluxDBException(const std::string&) instead - will be removed in v0.8.0
[[deprecated("Use InfluxDBException(const std::string&) instead - will be removed in v0.8.0")]] InfluxDBException(const std::string& source, const std::string& message)
: std::runtime_error::runtime_error(
"influx-cxx [" + source + "]: " + message)
{
}

explicit InfluxDBException(const std::string& message)
: std::runtime_error::runtime_error(message)
{
Expand Down