removed deprecated methods and fields
[deb_libcec.git] / src / cec-config / cec-config.cpp
index 29bdf593c58fc200a2bfdb67a07c077179d1bceb..36bdb21fbb55c6a255b74c451ae12056afbe902d 100644 (file)
@@ -166,7 +166,7 @@ bool OpenConnection(cec_device_type type = CEC_DEVICE_TYPE_RECORDING_DEVICE)
   g_callbacks.CBCecCommand    = &CecCommand;
   g_config.callbacks          = &g_callbacks;
 
-  g_config.deviceTypes.add(type);
+  g_config.deviceTypes.Add(type);
 
   g_parser = LibCecInitialise(&g_config);
   if (!g_parser)