mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.
Dependents: MbedSmartRestMain MbedSmartRestMain
Diff: ComposedRecord.cpp
- Revision:
- 5:2b74510900da
- Parent:
- 4:059b8b90e0d9
- Child:
- 11:e1bee9a77652
diff -r 059b8b90e0d9 -r 2b74510900da ComposedRecord.cpp --- a/ComposedRecord.cpp Wed Jul 09 15:37:19 2014 +0200 +++ b/ComposedRecord.cpp Thu Jul 10 16:20:31 2014 +0200 @@ -27,7 +27,6 @@ */ #include "ComposedRecord.h" -#include "NullValue.h" #include <stdlib.h> #include <string.h> @@ -109,8 +108,6 @@ const Value& ComposedRecord::value(size_t index) const { - if (index >= _count) - return aNullValue; return *_values[index]; }