From 5352c44d1ab542c64c421afcc690b200f7231a9d Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Mon, 29 Aug 2005 22:00:35 +0000 Subject: Clean up of the ConfigListener and Resource interfaces. --- src/resources/resource.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/resources/resource.cpp') 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) { } @@ -37,12 +37,6 @@ Resource::~Resource() { } -void -Resource::setIdPath(const std::string &idPath) -{ - mIdPath = idPath; -} - void Resource::incRef() { -- cgit v1.2.3-70-g09d2