Skip to content

Commit 2bc5d87

Browse files
committed
issue #10928 Setting JAVACC_CHAR_TYPE
`JAVACC_CHAR_TYPE` was already set in the main `CMakeLists.txt` but its value was not used here.
1 parent 3ce1c91 commit 2bc5d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qcstring.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ inline int qstricmp_sort( const char *str1, const char *str2 )
9292

9393
int qstrnicmp( const char *str1, const char *str2, size_t len );
9494

95-
using JavaCCString = std::basic_string<unsigned char>;
95+
using JavaCCString = std::basic_string<JAVACC_CHAR_TYPE>;
9696

9797
/** This is an alternative implementation of QCString. It provides basically
9898
* the same functions but uses std::string as the underlying string type

0 commit comments

Comments
 (0)