diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2007-09-16 14:27:13 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2007-09-16 14:27:13 +0000 |
| commit | 7ca42902c49bceffdbef6830cb23377eea6ae656 (patch) | |
| tree | 182198b88980c2dd9c72311f8cbb9e9a44655801 /src/dom/uri.h | |
| parent | trivial changes to address warning with g++-4.2 (diff) | |
| download | inkscape-7ca42902c49bceffdbef6830cb23377eea6ae656.tar.gz inkscape-7ca42902c49bceffdbef6830cb23377eea6ae656.zip | |
trivial: Address some g++-4.2 writable-strings warnings.
(bzr r3758)
Diffstat (limited to 'src/dom/uri.h')
| -rw-r--r-- | src/dom/uri.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/dom/uri.h b/src/dom/uri.h index 87a287b39..10d13365c 100644 --- a/src/dom/uri.h +++ b/src/dom/uri.h @@ -70,23 +70,23 @@ public: /** * */ - URI(const DOMString &str); + URI(DOMString const &str); /** * */ - URI(const char *str); + URI(char const *str); /** * Copy constructor */ - URI(const URI &other); + URI(URI const &other); /** * Assignment */ - URI &operator=(const URI &other); + URI &operator=(URI const &other); /** * @@ -96,7 +96,7 @@ public: /** * */ - virtual bool parse(const DOMString &str); + virtual bool parse(DOMString const &str); /** * @@ -162,7 +162,7 @@ public: /** * */ - virtual URI resolve(const URI &other) const; + virtual URI resolve(URI const &other) const; /** * @@ -174,7 +174,7 @@ private: void init(); //assign values of other to this. used by copy constructor - void assign(const URI &other); + void assign(URI const &other); int scheme; @@ -196,13 +196,13 @@ private: std::vector<int> fragment; - void error(const char *fmt, ...) + void error(char const *fmt, ...) #ifdef G_GNUC_PRINTF G_GNUC_PRINTF(2, 3) #endif ; - void trace(const char *fmt, ...) + void trace(char const *fmt, ...) #ifdef G_GNUC_PRINTF G_GNUC_PRINTF(2, 3) #endif @@ -210,7 +210,7 @@ private: int peek(int p); - int match(int p, char *key); + int match(int p, char const *key); int parseHex(int p, int &result); |
