File tree 4 files changed +7
-7
lines changed 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ bool TR_InterferenceGraph::select()
503
503
504
504
505
505
#ifdef DEBUG
506
- void TR_InterferenceGraph::dumpIG (char *msg)
506
+ void TR_InterferenceGraph::dumpIG (const char *msg)
507
507
{
508
508
if (msg)
509
509
{
Original file line number Diff line number Diff line change @@ -144,9 +144,9 @@ class TR_InterferenceGraph : public TR_IGBase
144
144
IGNodeColour findMinimumChromaticNumber ();
145
145
146
146
#ifdef DEBUG
147
- void dumpIG (char *msg = NULL );
147
+ void dumpIG (const char *msg = NULL );
148
148
#else
149
- void dumpIG (char *msg = NULL ) {}
149
+ void dumpIG (const char *msg = NULL ) {}
150
150
#endif
151
151
};
152
152
#endif
Original file line number Diff line number Diff line change 55
55
namespace TR
56
56
{
57
57
58
- SimpleRegex *SimpleRegex::create (char *&s)
58
+ SimpleRegex *SimpleRegex::create (char *& s)
59
59
{
60
60
if (s == NULL || s[0 ] != ' {' )
61
61
return NULL ;
62
- char *origStr = s;
62
+ const char *origStr = s;
63
63
++s;
64
64
bool negate = (s[0 ] == ' ^' );
65
65
if (negate)
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class SimpleRegex
50
50
51
51
// Create a new regular expression
52
52
//
53
- static SimpleRegex *create (char *& s);
53
+ static SimpleRegex *create (char * & s);
54
54
55
55
// Check whether a string matches this regular expression
56
56
//
@@ -147,7 +147,7 @@ class SimpleRegex
147
147
148
148
// Length and pointer to the original string that the regex was parsed from
149
149
size_t _regexStrLen;
150
- char *_regexStr;
150
+ const char *_regexStr;
151
151
};
152
152
153
153
}
You can’t perform that action at this time.
0 commit comments