Delete Image.inl.save-failed
Former-commit-id: 160b8d589c85d05886f46f77f191781e966ded37 [formerly 2bd02c1131275b7f48e71966f935c33a8517fa8e] Former-commit-id: b721cff7e246a88538296e29f9f7234f3773b431
This commit is contained in:
parent
f814f5054e
commit
f8c4dda97f
|
|
@ -1,20 +0,0 @@
|
||||||
// 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>
|
|
||||||
ImageRef Image::New(Args&&... args)
|
|
||||||
{
|
|
||||||
std::unique_ptr<Image> object(new Image(std::forward<Args>(args)...));
|
|
||||||
object->SetPersistent(false);
|
|
||||||
|
|
||||||
return object.release();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#include <Nazara/Utility/DebugOff.hpp>
|
|
||||||
Loading…
Reference in New Issue