File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ class INFLUXDB_EXPORT Point
5555 static auto getCurrentTimestamp () -> decltype(std::chrono::system_clock::now());
5656
5757 // / Converts point to Influx Line Protocol
58+ // / \deprecated Will be removed in a later version
59+ [[deprecated(" toLineProtocol() will be removed in a later version" )]]
5860 std::string toLineProtocol () const ;
5961
6062 // / Sets custom timestamp
Original file line number Diff line number Diff line change @@ -21,8 +21,11 @@ function(add_unittest name)
2121endfunction ()
2222
2323add_unittest(PointTest)
24+ target_compile_options (PointTest PRIVATE $<$<NOT :$<BOOL :${MSVC} >>:-Wno-deprecated-declarations>)
25+
2426add_unittest(LineProtocolTest)
2527target_link_libraries (LineProtocolTest PRIVATE InfluxDB-Internal )
28+
2629add_unittest(InfluxDBTest)
2730add_unittest(InfluxDBFactoryTest)
2831
You can’t perform that action at this time.
0 commit comments