Commit 139cf65e authored by Maksim Shabunin's avatar Maksim Shabunin

Merge pull request #437 from fran6co:patch-2

parents c3f432be 534bad47
#include "call.hpp"
#include <atomic>
namespace cvv
{
......@@ -7,7 +8,7 @@ namespace impl
size_t newCallId()
{
thread_local size_t nextId = 1;
static std::atomic_size_t nextId (1);
return nextId++;
}
......
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