tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3716 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
df2695bba1
commit
184e058e74
2 changed files with 27 additions and 27 deletions
|
@ -95,14 +95,14 @@ inline T align_to_512(const T x) {
|
|||
template <typename _RESOURCE, typename _FREE_RESOURCE>
|
||||
class ResourceManager {
|
||||
public:
|
||||
ResourceManager(_RESOURCE& resource) : m_resource(resource) {}
|
||||
~ResourceManager() { m_free_resource(m_resource); };
|
||||
ResourceManager(_RESOURCE& resource) : m_resource(resource) {}
|
||||
~ResourceManager() { m_free_resource(m_resource); };
|
||||
private: // members
|
||||
_RESOURCE& m_resource;
|
||||
_RESOURCE& m_resource;
|
||||
_FREE_RESOURCE m_free_resource;
|
||||
private: // don't copy instances
|
||||
ResourceManager(const ResourceManager&);
|
||||
void operator=(const ResourceManager&);
|
||||
ResourceManager(const ResourceManager&);
|
||||
void operator=(const ResourceManager&);
|
||||
};
|
||||
|
||||
#define DEFINE_FREEFUNC(freefunc) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue