diff options
author | Steve Cotton <steve@s.cotton.clara.co.uk> | 2009-03-16 19:04:38 +0000 |
---|---|---|
committer | Steve Cotton <steve@s.cotton.clara.co.uk> | 2009-03-16 19:04:38 +0000 |
commit | 13b064998c0f7142a134817c9dde08ad29db97fe (patch) | |
tree | aa7177718259171a6d47414b1ab143afc0146ded /src/resources/dye.h | |
parent | 94495012ea5919cddaf47e7a7818fd8ba4e76708 (diff) | |
download | mana-client-13b064998c0f7142a134817c9dde08ad29db97fe.tar.gz mana-client-13b064998c0f7142a134817c9dde08ad29db97fe.tar.bz2 mana-client-13b064998c0f7142a134817c9dde08ad29db97fe.tar.xz mana-client-13b064998c0f7142a134817c9dde08ad29db97fe.zip |
Code reformatting
Cherry-picking changes from Bjørn's 1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb
Mainly making sure 'const std::string &' is used everywhere instead of
'std::string const &'. The former has always been the preferred order in
this project.
Diffstat (limited to 'src/resources/dye.h')
-rw-r--r-- | src/resources/dye.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/dye.h b/src/resources/dye.h index 48254b6f..ef867058 100644 --- a/src/resources/dye.h +++ b/src/resources/dye.h @@ -38,7 +38,7 @@ class Palette * The string is either a file name or a sequence of hexadecimal RGB * values separated by ',' and starting with '#'. */ - Palette(std::string const &pallete); + Palette(const std::string &pallete); /** * Gets a pixel color depending on its intensity. @@ -65,7 +65,7 @@ class Dye * The parts of string are separated by semi-colons. Each part starts * by an uppercase letter, followed by a colon and then a palette name. */ - Dye(std::string const &dye); + Dye(const std::string &dye); /** * Destroys the associated palettes. @@ -81,7 +81,7 @@ class Dye * Fills the blank in a dye placeholder with some palette names. */ static void instantiate(std::string &target, - std::string const &palettes); + const std::string &palettes); private: |