mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Normalize line endings
This commit contains only the result of `git add --renormalize .` `git show --ignore-space-change` can verify that this commit only changes whitespace.
This commit is contained in:
@@ -1,38 +1,38 @@
|
||||
#pragma once
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class RefCountedBase
|
||||
{
|
||||
public:
|
||||
RefCountedBase();
|
||||
virtual ~RefCountedBase();
|
||||
virtual void Release() = 0;
|
||||
|
||||
void IncRef();
|
||||
void DecRef();
|
||||
|
||||
private:
|
||||
unsigned int m_refCount;
|
||||
};
|
||||
}
|
||||
|
||||
inline PortabilityLayer::RefCountedBase::RefCountedBase()
|
||||
: m_refCount(0)
|
||||
{
|
||||
}
|
||||
|
||||
inline PortabilityLayer::RefCountedBase::~RefCountedBase()
|
||||
{
|
||||
}
|
||||
|
||||
inline void PortabilityLayer::RefCountedBase::IncRef()
|
||||
{
|
||||
m_refCount++;
|
||||
}
|
||||
|
||||
inline void PortabilityLayer::RefCountedBase::DecRef()
|
||||
{
|
||||
if (--m_refCount == 0)
|
||||
this->Release();
|
||||
}
|
||||
#pragma once
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class RefCountedBase
|
||||
{
|
||||
public:
|
||||
RefCountedBase();
|
||||
virtual ~RefCountedBase();
|
||||
virtual void Release() = 0;
|
||||
|
||||
void IncRef();
|
||||
void DecRef();
|
||||
|
||||
private:
|
||||
unsigned int m_refCount;
|
||||
};
|
||||
}
|
||||
|
||||
inline PortabilityLayer::RefCountedBase::RefCountedBase()
|
||||
: m_refCount(0)
|
||||
{
|
||||
}
|
||||
|
||||
inline PortabilityLayer::RefCountedBase::~RefCountedBase()
|
||||
{
|
||||
}
|
||||
|
||||
inline void PortabilityLayer::RefCountedBase::IncRef()
|
||||
{
|
||||
m_refCount++;
|
||||
}
|
||||
|
||||
inline void PortabilityLayer::RefCountedBase::DecRef()
|
||||
{
|
||||
if (--m_refCount == 0)
|
||||
this->Release();
|
||||
}
|
||||
|
Reference in New Issue
Block a user