Skip to content

Commit 6cbb5ff

Browse files
committed
Refs #21183: Apply Miguel's suggestions
Signed-off-by: eduponz <eduardoponz@eprosima.com>
1 parent 7f64834 commit 6cbb5ff

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

test/profiling/MemoryTestTypes.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ bool MemoryDataType::serialize(
3232
*(uint32_t*)payload->data = lt->seqnum;
3333
*(uint32_t*)(payload->data + 4) = (uint32_t)lt->data.size();
3434

35-
//std::copy(lt->data.begin(),lt->data.end(),payload->data+8);
3635
memcpy(payload->data + 8, lt->data.data(), lt->data.size());
3736
payload->length = static_cast<uint32_t>(8 + lt->data.size());
3837
return true;
@@ -114,10 +113,7 @@ bool TestCommandDataType::deserialize(
114113
void* data)
115114
{
116115
TestCommandType* t = static_cast<TestCommandType*>(data);
117-
// cout << "PAYLOAD LENGTH: "<<payload->length << endl;
118-
// cout << "PAYLOAD FIRST BYTE: "<< (int)payload->data[0] << endl;
119116
t->m_command = static_cast<TESTCOMMAND>(*(payload->data));
120-
// cout << "COMMAND: "<<t->m_command<< endl;
121117
return true;
122118
}
123119

0 commit comments

Comments
 (0)