Skip to content

Commit

Permalink
Field padding improved
Browse files Browse the repository at this point in the history
  • Loading branch information
dok-net committed Jan 30, 2021
1 parent 36e0d45 commit 7326874
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EspSoftwareSerial",
"version": "6.11.3",
"version": "6.11.4",
"keywords": [
"serial", "io", "softwareserial"
],
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=EspSoftwareSerial
version=6.11.3
version=6.11.4
author=Dirk Kaar, Peter Lerup
maintainer=Dirk Kaar <dok@dok-net.net>
sentence=Implementation of the Arduino software serial for ESP8266/ESP32.
Expand Down
12 changes: 6 additions & 6 deletions src/circular_queue/Delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ namespace delegate
}

protected:
enum { FUNC, FP, FPA } kind;
union {
FunctionType functional;
FunPtr fn;
Expand All @@ -350,6 +349,7 @@ namespace delegate
A obj;
};
};
enum { FUNC, FP, FPA } kind;
};
#else
template<typename A, typename R, typename... P>
Expand Down Expand Up @@ -551,12 +551,12 @@ namespace delegate
}

protected:
enum { FP, FPA } kind;
union {
FunPtr fn;
FunAPtr fnA;
};
A obj;
enum { FP, FPA } kind;
};
#endif

Expand Down Expand Up @@ -758,11 +758,11 @@ namespace delegate
}

protected:
enum { FUNC, FP } kind;
union {
FunctionType functional;
FunPtr fn;
};
enum { FUNC, FP } kind;
};
#else
template<typename R, typename... P>
Expand Down Expand Up @@ -1141,7 +1141,6 @@ namespace delegate
}

protected:
enum { FUNC, FP, FPA } kind;
union {
FunctionType functional;
FunPtr fn;
Expand All @@ -1150,6 +1149,7 @@ namespace delegate
A obj;
};
};
enum { FUNC, FP, FPA } kind;
};
#else
template<typename A, typename R>
Expand Down Expand Up @@ -1350,12 +1350,12 @@ namespace delegate
}

protected:
enum { FP, FPA } kind;
union {
FunPtr fn;
FunAPtr fnA;
};
A obj;
enum { FP, FPA } kind;
};
#endif

Expand Down Expand Up @@ -1557,11 +1557,11 @@ namespace delegate
}

protected:
enum { FUNC, FP } kind;
union {
FunctionType functional;
FunPtr fn;
};
enum { FUNC, FP } kind;
};
#else
template<typename R>
Expand Down

0 comments on commit 7326874

Please sign in to comment.