@@ -251,7 +251,6 @@ namespace simplecpp {
251251 explicit TokenList (std::vector<std::string> &filenames);
252252 /* * generates a token list from the given std::istream parameter */
253253 TokenList (std::istream &istr, std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr );
254- #ifdef SIMPLECPP_TOKENLIST_ALLOW_PTR
255254 /* * generates a token list from the given buffer */
256255 template <size_t size>
257256 TokenList (const char (&data)[size], std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr)
@@ -262,7 +261,7 @@ namespace simplecpp {
262261 TokenList (const unsigned char (&data)[size], std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr)
263262 : TokenList(data, size-1 , filenames, filename, outputList, 0 )
264263 {}
265-
264+ # ifdef SIMPLECPP_TOKENLIST_ALLOW_PTR
266265 /* * generates a token list from the given buffer */
267266 TokenList (const unsigned char * data, std::size_t size, std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr)
268267 : TokenList(data, size, filenames, filename, outputList, 0 )
0 commit comments