Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bbuchfink/diamond
Browse files Browse the repository at this point in the history
  • Loading branch information
bbuchfink committed Feb 27, 2023
2 parents d481950 + 109d70c commit 3511b09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/MemoryPool/MemoryPool.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef MEMORY_BLOCK_TCC
#define MEMORY_BLOCK_TCC


#include <cstdint>

template <typename T, size_t BlockSize>
inline typename MemoryPool<T, BlockSize>::size_type
Expand Down
4 changes: 2 additions & 2 deletions src/util/log_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ struct task_timer
{}
~task_timer()
{
if (!std::uncaught_exception())
if (!std::uncaught_exceptions())
finish();
}
void go(const char* msg = nullptr)
Expand Down Expand Up @@ -144,4 +144,4 @@ struct task_timer
std::chrono::high_resolution_clock::time_point t;
};

void exit_with_error(const std::exception& e);
void exit_with_error(const std::exception& e);

0 comments on commit 3511b09

Please sign in to comment.