Added const modifier to strings in pcb_calculator xpm files
When there is no const modifier gcc warns: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
This commit is contained in:
parent
c9b7647fe0
commit
6dec72b3c6
|
@ -1,5 +1,5 @@
|
||||||
/* XPM */
|
/* XPM */
|
||||||
static char * color_code_multiplier_xpm[] = {
|
static const char * color_code_multiplier_xpm[] = {
|
||||||
"90 280 14 1",
|
"90 280 14 1",
|
||||||
" c None",
|
" c None",
|
||||||
". c #000000",
|
". c #000000",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* XPM */
|
/* XPM */
|
||||||
static char * color_code_tolerance_xpm[] = {
|
static const char * color_code_tolerance_xpm[] = {
|
||||||
"90 280 14 1",
|
"90 280 14 1",
|
||||||
" c None",
|
" c None",
|
||||||
". c #000000",
|
". c #000000",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* XPM */
|
/* XPM */
|
||||||
static char * color_code_value_xpm[] = {
|
static const char * color_code_value_xpm[] = {
|
||||||
"90 234 13 1",
|
"90 234 13 1",
|
||||||
" c None",
|
" c None",
|
||||||
". c #000000",
|
". c #000000",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* XPM */
|
/* XPM */
|
||||||
static char * color_code_value_and_name_xpm[] = {
|
static const char * color_code_value_and_name_xpm[] = {
|
||||||
"90 280 14 1",
|
"90 280 14 1",
|
||||||
" c None",
|
" c None",
|
||||||
". c #000000",
|
". c #000000",
|
||||||
|
|
Loading…
Reference in New Issue