summaryrefslogtreecommitdiffstats
path: root/src/uscxml/messages
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-01-23 22:31:54 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-01-23 22:31:54 (GMT)
commit24ac6c39a89f5b94ede80b745f68ea5f0b762640 (patch)
tree2a32c53a43caab1358cf9b66ff3bb0819c3d1b60 /src/uscxml/messages
parentb8a20c656537e4be748c3485d2c9541bd51e2b3d (diff)
downloaduscxml-24ac6c39a89f5b94ede80b745f68ea5f0b762640.zip
uscxml-24ac6c39a89f5b94ede80b745f68ea5f0b762640.tar.gz
uscxml-24ac6c39a89f5b94ede80b745f68ea5f0b762640.tar.bz2
Made GCC/CLang pedantic and fixed warnings
Diffstat (limited to 'src/uscxml/messages')
-rw-r--r--src/uscxml/messages/Data.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uscxml/messages/Data.h b/src/uscxml/messages/Data.h
index 6d4af3e..48323ed 100644
--- a/src/uscxml/messages/Data.h
+++ b/src/uscxml/messages/Data.h
@@ -69,13 +69,13 @@ public:
#ifndef SWIGIMPORTED
// swig barfs on this one, have them explictly
template <
- typename T,
- typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type
- >
+ typename T,
+ typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type
+ >
explicit Data(T value)
: node(NULL), atom(toStr(value)), type(INTERPRETED) {}
#endif
-
+
template <typename T>
explicit Data(T value, Type type) : node(NULL), atom(toStr(value)), type(type) {}