diff options
Diffstat (limited to 'src/resources/resource.cpp')
-rw-r--r-- | src/resources/resource.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/resources/resource.cpp b/src/resources/resource.cpp index e13ec359..5c1df52d 100644 --- a/src/resources/resource.cpp +++ b/src/resources/resource.cpp @@ -28,8 +28,8 @@ #include "resourcemanager.h" -Resource::Resource(): - mRefCount(0) +Resource::Resource(const std::string &idPath): + mRefCount(0), mIdPath(idPath) { } @@ -38,12 +38,6 @@ Resource::~Resource() } void -Resource::setIdPath(const std::string &idPath) -{ - mIdPath = idPath; -} - -void Resource::incRef() { mRefCount++; |