Files
NazaraEngine/include/Nazara/Utility/Animation.inl
Lynix b7a08a6aa7 Core/RefCounted: Remove persistent boolean
Former-commit-id: b5681c26fc30db38b94f9c1ecc9c12ee699af767 [formerly aeebf599245261644fd5fb54fe9f64067a63afc9]
Former-commit-id: f7bcc658c93cc3977ffa91a617b7ca4d463b4aca
2016-08-02 12:52:49 +02:00

19 lines
479 B
C++

// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Utility module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <memory>
#include <Nazara/Utility/Debug.hpp>
namespace Nz
{
template<typename... Args>
AnimationRef Animation::New(Args&&... args)
{
std::unique_ptr<Animation> object(new Animation(std::forward<Args>(args)...));
return object.release();
}
}
#include <Nazara/Utility/DebugOff.hpp>