Skip to content

Commit 4db4304

Browse files
authored
simplecpp.h: fixed formatting (#522)
1 parent 4056cd5 commit 4db4304

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

simplecpp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ namespace simplecpp {
244244
/** generates a token list from the given buffer */
245245
template<size_t size>
246246
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)
248248
{}
249249

250250
/** generates a token list from the given buffer */
@@ -265,12 +265,12 @@ namespace simplecpp {
265265
#ifdef __cpp_lib_span
266266
/** generates a token list from the given buffer */
267267
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)
269269
{}
270270

271271
/** generates a token list from the given buffer */
272272
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)
274274
{}
275275
#endif
276276

0 commit comments

Comments
 (0)