Skip to content

Commit

Permalink
Fix reference to non-static member function
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeulen committed Feb 6, 2024
1 parent de7f2f3 commit e892ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TTTRHeader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit e892ec5

Please sign in to comment.