Commit 534bad47 authored by Francisco Facioni's avatar Francisco Facioni

Fixes cvv compilation for Apple's clang

It doesn't support thread_local
parent 5e008c87
#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