diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map.cpp b/src/map.cpp index 87080e8..3976b63 100644 --- a/src/map.cpp +++ b/src/map.cpp | |||
@@ -67,32 +67,32 @@ void swap(Map& first, Map& second) | |||
67 | std::swap(first.m_rightMap, second.m_rightMap); | 67 | std::swap(first.m_rightMap, second.m_rightMap); |
68 | } | 68 | } |
69 | 69 | ||
70 | const int* Map::mapdata() | 70 | const int* Map::mapdata() const |
71 | { | 71 | { |
72 | return m_mapdata; | 72 | return m_mapdata; |
73 | } | 73 | } |
74 | 74 | ||
75 | const char* Map::title() | 75 | const char* Map::title() const |
76 | { | 76 | { |
77 | return m_title; | 77 | return m_title; |
78 | } | 78 | } |
79 | 79 | ||
80 | Map* Map::getLeftMap() | 80 | const Map* Map::getLeftMap() const |
81 | { | 81 | { |
82 | return m_leftMap; | 82 | return m_leftMap; |
83 | } | 83 | } |
84 | 84 | ||
85 | Map* Map::getRightMap() | 85 | const Map* Map::getRightMap() const |
86 | { | 86 | { |
87 | return m_rightMap; | 87 | return m_rightMap; |
88 | } | 88 | } |
89 | 89 | ||
90 | void Map::setLeftMap(Map* m) | 90 | void Map::setLeftMap(const Map* m) |
91 | { | 91 | { |
92 | m_leftMap = m; | 92 | m_leftMap = m; |
93 | } | 93 | } |
94 | 94 | ||
95 | void Map::setRightMap(Map* m) | 95 | void Map::setRightMap(const Map* m) |
96 | { | 96 | { |
97 | m_rightMap = m; | 97 | m_rightMap = m; |
98 | } | 98 | } |