Skip to content

Commit

Permalink
Apply patch to fix handling of non-const unsigned char strings
Browse files Browse the repository at this point in the history
  • Loading branch information
RElesgoe committed Aug 23, 2016
1 parent 795964d commit 89aa3ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,9 @@ namespace fmt {

FMT_MAKE_VALUE(char *, string.value, CSTRING)
FMT_MAKE_VALUE(const char *, string.value, CSTRING)
FMT_MAKE_VALUE(signed char *, sstring.value, CSTRING)
FMT_MAKE_VALUE(const signed char *, sstring.value, CSTRING)
FMT_MAKE_VALUE(unsigned char *, ustring.value, CSTRING)
FMT_MAKE_VALUE(const unsigned char *, ustring.value, CSTRING)
FMT_MAKE_STR_VALUE(const std::string &, STRING)
FMT_MAKE_STR_VALUE(StringRef, STRING)
Expand Down

0 comments on commit 89aa3ad

Please sign in to comment.