8000 Field padding improved · dok-net/arduino-esp8266@9644606 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9644606

Browse files
committed
Field padding improved
1 parent 6aa1102 commit 9644606

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cores/esp8266/Delegate.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ namespace delegate
341341
}
342342

343343
protected:
344-
enum { FUNC, FP, FPA } kind;
345344
union {
346345
FunctionType functional;
347346
FunPtr fn;
@@ -350,6 +349,7 @@ namespace delegate
350349
A obj;
351350
};
352351
};
352+
enum { FUNC, FP, FPA } kind;
353353
};
354354
#else
355355
template<typename A, typename R, typename... P>
@@ -551,12 +551,12 @@ namespace delegate
551551
}
552552

553553
protected:
554-
enum { FP, FPA } kind;
555554
union {
556555
FunPtr fn;
557556
FunAPtr fnA;
558557
};
559558
A obj;
559+
enum { FP, FPA } kind;
560560
};
561561
#endif
562562

@@ -758,11 +758,11 @@ namespace delegate
758758
}
759759

760760
protected:
761-
enum { FUNC, FP } kind;
762761
union {
763762
FunctionType functional;
764763
FunPtr fn;
765764
};
765+
enum { FUNC, FP } kind;
766766
};
767767
#else
768768
template<typename R, typename... P>
@@ -1141,7 +1141,6 @@ namespace delegate
11411141
}
11421142

11431143
protected:
1144-
enum { FUNC, FP, FPA } kind;
11451144
union {
11461145
FunctionType functional;
11471146
FunPtr fn;
@@ -1150,6 +1149,7 @@ namespace delegate
11501149
A obj;
11511150
};
11521151
};
1152+
enum { FUNC, FP, FPA } kind;
11531153
};
11541154
#else
11551155
template<typename A, typename R>
@@ -1350,12 +1350,12 @@ namespace delegate
13501350
}
13511351

13521352
protected:
1353-
enum { FP, FPA } kind;
13541353
union {
13551354
FunPtr fn;
13561355
FunAPtr fnA;
13571356
};
13581357
A obj;
1358+
enum { FP, FPA } kind;
13591359
};
13601360
#endif
13611361

@@ -1557,11 +1557,11 @@ namespace delegate
15571557
}
15581558

15591559
protected:
1560-
enum { FUNC, FP } kind;
15611560
union {
15621561
FunctionType functional;
15631562
FunPtr fn;
15641563
};
1564+
enum { FUNC, FP } kind;
15651565
};
15661566
#else
15671567
template<typename R>

0 commit comments

Comments
 (0)
0