diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-26 16:07:54 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-26 16:07:54 +0100 |
commit | 5afe88df2538274859a162ffd63ed52118e80c19 (patch) | |
tree | b610dfd58dc748fd63f49565b2a43eea2316714f /src/resources/hairdb.h | |
parent | 73ba2a95f5bd4a0dd09af52d5864800be2b0a4c6 (diff) | |
download | mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.gz mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.bz2 mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.xz mana-5afe88df2538274859a162ffd63ed52118e80c19.zip |
Apply C++11 fixits
modernize-use-auto
modernize-use-nullptr
modernize-use-override
modernize-use-using
Diffstat (limited to 'src/resources/hairdb.h')
-rw-r--r-- | src/resources/hairdb.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/hairdb.h b/src/resources/hairdb.h index 502d7c21..48354243 100644 --- a/src/resources/hairdb.h +++ b/src/resources/hairdb.h @@ -88,14 +88,14 @@ class HairDB void loadHairStylesNode(xmlNodePtr stylesNode); // Hair colors Db - typedef std::map<int, std::string> Colors; - typedef Colors::iterator ColorIterator; - typedef Colors::const_iterator ColorConstIterator; + using Colors = std::map<int, std::string>; + using ColorIterator = Colors::iterator; + using ColorConstIterator = Colors::const_iterator; Colors mHairColors; - typedef std::set<int> HairStyles; - typedef HairStyles::iterator HairStylesIterator; - typedef HairStyles::const_iterator HairStylesConstIterator; + using HairStyles = std::set<int>; + using HairStylesIterator = HairStyles::iterator; + using HairStylesConstIterator = HairStyles::const_iterator; HairStyles mHairStyles; bool mLoaded; |