mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
more using .empty()
This commit is contained in:
@ -139,7 +139,7 @@ int ZmqSocket::SendHeader(int index, zmqHeader header) {
|
||||
// additional stuff
|
||||
header.flippedDataX, header.quad);
|
||||
|
||||
if (header.addJsonHeader.size() > 0) {
|
||||
if (!header.addJsonHeader.empty()) {
|
||||
strcat(header_buffer.get(), ", ");
|
||||
strcat(header_buffer.get(), "\"addJsonHeader\": {");
|
||||
for (auto it = header.addJsonHeader.begin();
|
||||
|
Reference in New Issue
Block a user