Commit 33103f5
committed
Silence the C++ warnings
`constexpr` doesn't imply `const`?!?
This silences this warning:
```
.....libraries/SNMP/src/SNMPMessage.h:127:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
127 | static constexpr char *SNMPTRAPENTERPRISE = "1.3.6.1.6.3.1.1.4.3.0";
| ^~~~~~~~~~~~~~~~~~~~~~~
```1 parent 658afd0 commit 33103f5
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments