offa / influxdb-cxx

InfluxDB C++ client library.
MIT License
115 stars 43 forks source link

Use fixed with types for field #120

Open offa opened 2 years ago

offa commented 2 years ago

Use fixed with types instead of int / long long int in Point::addField(…).

Docs: https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_reference/#data-types

offa commented 2 years ago

Using std::int64_t only breaks on some systems (int wont convert).