@@ -244,7 +244,7 @@ namespace simplecpp {
244
244
/* * generates a token list from the given buffer */
245
245
template <size_t size>
246
246
TokenList (const unsigned char (&data)[size], std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr)
247
- : TokenList(data, size-1 , filenames, filename, outputList, 0 )
247
+ : TokenList(data, size-1 , filenames, filename, outputList, 0 )
248
248
{}
249
249
250
250
/* * generates a token list from the given buffer */
@@ -265,12 +265,12 @@ namespace simplecpp {
265
265
#ifdef __cpp_lib_span
266
266
/* * generates a token list from the given buffer */
267
267
TokenList (std::span<const char > data, std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr)
268
- : TokenList(reinterpret_cast <const unsigned char *>(data.data()), data.size(), filenames, filename, outputList, 0)
268
+ : TokenList(reinterpret_cast <const unsigned char *>(data.data()), data.size(), filenames, filename, outputList, 0)
269
269
{}
270
270
271
271
/* * generates a token list from the given buffer */
272
272
TokenList (std::span<const unsigned char > data, std::vector<std::string> &filenames, const std::string &filename=std::string(), OutputList *outputList = nullptr)
273
- : TokenList(data.data(), data.size(), filenames, filename, outputList, 0)
273
+ : TokenList(data.data(), data.size(), filenames, filename, outputList, 0)
274
274
{}
275
275
#endif
276
276
0 commit comments