Skip to content

Commit

Permalink
Fix: char_traits of a constant type
Browse files Browse the repository at this point in the history
Closes #144

Co-authored-by: Evgeniy <[email protected]>
  • Loading branch information
ashvardanian and iron-udjin committed Apr 19, 2024
1 parent 52a13e3 commit a709083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/stringzilla/stringzilla.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ class basic_string_slice {

public:
// STL compatibility
using traits_type = std::char_traits<char_type_>;
using traits_type = std::char_traits<mutable_char_type>;
using value_type = mutable_char_type;
using pointer = char_type *;
using const_pointer = immutable_char_type *;
Expand Down

0 comments on commit a709083

Please sign in to comment.