Ludovic 'Archivist' Lagouardette пре 3 година
родитељ
комит
6b21dd3cb5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      include/gp/pointers.hpp

+ 1
- 1
include/gp/pointers.hpp Прегледај датотеку

@ -72,7 +72,7 @@ namespace gp {
shared_ptr(T* _data, gp::allocator& _owner)
: data(_data)
, refcounter((std::atomic_int)owner.allocate(sizeof(std::atomic_int)))
, refcounter((std::atomic_into">*)owner.allocate(sizeof(std::atomic_int)))
, owner(_owner)
{
refcounter->store(1);

Loading…
Откажи
Сачувај