MBED_DEMOS / Mbed 2 deprecated mbed_mqtt_endpoint_ublox_ethernet

Dependencies:   C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed

Revision:
31:a95cf856ce4e
Parent:
9:ff877db53cfd
Child:
35:27484c1273f9
--- a/EmulatedResourceFactory.cpp	Fri Feb 28 18:08:11 2014 +0000
+++ b/EmulatedResourceFactory.cpp	Fri Feb 28 20:39:17 2014 +0000
@@ -61,7 +61,7 @@
  // set a resource value (AND trigger the Emulated actions if registered)
  bool EmulatedResourceFactory::setResourceValue(char *name, char *value) {
      // set the resource value
-     bool success = ((ResourceFactory *)this)->setResourceValue(name,value);
+     bool success = ResourceFactory::setResourceValue(name,value);
      if (success) {
          // invoke an action if registered
          EmulatedCallbackPointer cb = (EmulatedCallbackPointer)this->getCallbackPointer(name);