Skip to content

Commit ece13bb

Browse files
authored
Removing const in const auto (return value) (#538)
1 parent d8f77a1 commit ece13bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/ada/url_search_params.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ struct url_search_params {
124124
* C++ style conventional iterator support. const only because we
125125
* do not really want the params to be modified via the iterator.
126126
*/
127-
inline const auto begin() const { return params.begin(); }
128-
inline const auto end() const { return params.end(); }
129-
inline const auto front() const { return params.front(); }
130-
inline const auto back() const { return params.back(); }
131-
inline const auto operator[](size_t index) const { return params[index]; }
127+
inline auto begin() const { return params.begin(); }
128+
inline auto end() const { return params.end(); }
129+
inline auto front() const { return params.front(); }
130+
inline auto back() const { return params.back(); }
131+
inline auto operator[](size_t index) const { return params[index]; }
132132

133133
private:
134134
typedef std::pair<std::string, std::string> key_value_pair;

0 commit comments

Comments
 (0)