Commit c927de13 authored by gabime's avatar gabime

clang-format

parent eb23d505
......@@ -246,7 +246,7 @@ SPDLOG_INLINE size_t filesize(FILE *f)
#endif
#endif
throw_spdlog_ex("Failed getting file size from fd", errno);
return 0; // will not be reached.
return 0; // will not be reached.
}
// Return utc offset in minutes or throw spdlog_ex on failure
......
......@@ -19,7 +19,7 @@ SPDLOG_INLINE thread_pool::thread_pool(size_t q_max_items, size_t threads_n, std
if (threads_n == 0 || threads_n > 1000)
{
throw_spdlog_ex("spdlog::thread_pool(): invalid threads_n param (valid "
"range is 1-1000)");
"range is 1-1000)");
}
for (size_t i = 0; i < threads_n; i++)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment