8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc52a5 commit 9862048Copy full SHA for 9862048
CHANGELOG.md
@@ -1,6 +1,11 @@
1
ArduinoJson: change log
2
=======================
3
4
+HEAD
5
+----
6
+
7
+* Fixed error "attributes are not allowed on a function-definition"
8
9
v6.10.0 (2019-03-22)
10
-------
11
src/ArduinoJson/MsgPack/MsgPackSerializer.hpp
@@ -24,8 +24,8 @@ class MsgPackSerializer {
24
}
25
26
template <typename T>
27
- typename enable_if<sizeof(T) == 8>::type visitFloat(T value64)
28
- ARDUINOJSON_NO_SANITIZE("float-cast-overflow") {
+ ARDUINOJSON_NO_SANITIZE("float-cast-overflow")
+ typename enable_if<sizeof(T) == 8>::type visitFloat(T value64) {
29
float value32 = float(value64);
30
if (value32 == value64) {
31
writeByte(0xCA);
0 commit comments