Delete Image.inl.save-failed
Former-commit-id: 2992e8ec1076efb6138374f80ffefdef9809f143 [formerly 2e731027778013668a6ab552e4783bd1cb1d561f] Former-commit-id: e47ffdb65bfdba1c0c5cc07452ef5545fddd7d82
This commit is contained in:
parent
4555a52317
commit
e5b8403371
|
|
@ -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