Commit 42b8581
committed
Solving the following compile time error
error: moving ‘a’ of type ‘arduino::String’ to itself [-Werror=self-move]
Which may happen if if GCC_VERSION is not defined, and instead __GNUC__
is defined1 parent 2aaef7b commit 42b8581
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
0 commit comments