From e892ec5e08be335e6cad952cea73c855c2b0f742 Mon Sep 17 00:00:00 2001 From: Thomas-Otavio Peulen Date: Tue, 6 Feb 2024 20:08:11 +0100 Subject: [PATCH] Fix reference to non-static member function --- src/TTTRHeader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TTTRHeader.cpp b/src/TTTRHeader.cpp index 82a924f0..5a5554dd 100644 --- a/src/TTTRHeader.cpp +++ b/src/TTTRHeader.cpp @@ -161,7 +161,7 @@ size_t TTTRHeader::read_cz_confocor3_header( for (int i = 0; i < 4; i++) { ss << std::hex << std::setw(8) << std::setfill('0') << rec.bits.measure_id[i]; } - size_t total_length = ss.str.length() + 1; + size_t total_length = ss.str().length() + 1; char* hex_measure_id = new char[total_length]; std::strcpy(hex_measure_id, ss.str().c_str());