@@ -255,7 +255,6 @@ namespace simplecpp {
255255 explicit TokenList (std::vector<std::string> &filenames);
256256 /* * generates a token list from the given std::istream parameter */
257257 TokenList (std::istream &istr, std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr );
258- #ifdef SIMPLECPP_TOKENLIST_ALLOW_PTR
259258 /* * generates a token list from the given buffer */
260259 template <size_t size>
261260 TokenList (const char (&data)[size], std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr)
@@ -266,7 +265,7 @@ namespace simplecpp {
266265 TokenList (const unsigned char (&data)[size], std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr)
267266 : TokenList(data, size-1 , filenames, filename, outputList, 0 )
268267 {}
269-
268+ # ifdef SIMPLECPP_TOKENLIST_ALLOW_PTR
270269 /* * generates a token list from the given buffer */
271270 TokenList (const unsigned char * data, std::size_t size, std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr)
272271 : TokenList(data, size, filenames, filename, outputList, 0 )
0 commit comments