influxdb-cxx icon indicating copy to clipboard operation
influxdb-cxx copied to clipboard

Use fixed with types for field

Open offa opened this issue 3 years ago • 1 comments

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 avatar May 16 '22 16:05 offa

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

offa avatar Jun 14 '22 15:06 offa