cec: renamed enum methods. fixes potential macro collision with isset(). thanks davilla
[deb_libcec.git] / src / lib / AdapterCommunication.cpp
index 1aaf3c8573c4efac9784650b28f939006036177b..e772d351cbd265fdf6a1a9d4b764edebd0f28e5e 100644 (file)
@@ -64,7 +64,7 @@ CCECAdapterMessage::CCECAdapterMessage(const cec_command &command)
   if (command.opcode_set == 1)
   {
     push_back(MSGSTART);
-    push_escaped(command.parameters.empty() ? (uint8_t)MSGCODE_TRANSMIT_EOM : (uint8_t)MSGCODE_TRANSMIT);
+    push_escaped(command.parameters.IsEmpty() ? (uint8_t)MSGCODE_TRANSMIT_EOM : (uint8_t)MSGCODE_TRANSMIT);
     push_back((uint8_t) command.opcode);
     push_back(MSGEND);