Files
NazaraEngine/src/Nazara/Core/HandledObject.cpp
2018-10-12 15:46:40 +02:00

19 lines
487 B
C++

// Copyright (C) 2017 Jérôme Leclercq
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/HandledObject.hpp>
#include <Nazara/Core/Debug.hpp>
namespace Nz
{
namespace Detail
{
std::shared_ptr<HandleData> HandleData::GetEmptyObject()
{
static std::shared_ptr<HandleData> emptyHandleData = std::make_shared<HandleData>(HandleData{});
return emptyHandleData;
}
}
}