diff --git a/server.cpp b/server.cpp index c039df1..0288e1e 100644 --- a/server.cpp +++ b/server.cpp @@ -42,7 +42,7 @@ int main() { trace("Applying new data to image"); applyImage(image, &buffer); - cv::putText(image, std::format("Latency: {}ms", latency), cv::Point(0, 480), cv::FONT_HERSHEY_PLAIN, 1, cv::Scalar(255, 0, 0), 1, cv::LINE_AA); + cv::putText(image, to_string(latency), cv::Point(0, 480), cv::FONT_HERSHEY_PLAIN, 1, cv::Scalar(255, 0, 0), 1, cv::LINE_AA); trace("Displaying image"); imshow("image", image);