RequestHandler object is now returned as reference rather than as pointer. Memory handling should be more clear by that change.

This commit is contained in:
Dennis Luxen
2011-03-14 13:39:16 +00:00
parent da3789f2ce
commit 2b639a5a14
2 changed files with 6 additions and 8 deletions
+2 -4
View File
@@ -61,10 +61,8 @@ public:
ioService.stop();
}
RequestHandler * GetRequestHandlerPtr() {
return &requestHandler;
RequestHandler & GetRequestHandlerPtr() {
return requestHandler;
}
private: