Browse files

Const fix

  • Loading branch information...
1 parent 16a4fd1 commit 68703c35fce5fa43b99242f70001d2962bf46726 @saleyn committed Jul 11, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/utxx/nchar.hpp
View
2 include/utxx/nchar.hpp
@@ -125,7 +125,7 @@ namespace detail {
/// given delimiter.
/// @return the string length up to the \a delimiter or size() if
/// the \a delimiter is not found
- size_t len(char delimiter) {
+ size_t len(char delimiter) const {
const char* pos = find_pos(m_data, end(), delimiter);
return pos - m_data;
}

0 comments on commit 68703c3

Please sign in to comment.