Added include statement. Removed const declaration.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1054 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2009-11-14 07:12:39 +00:00
parent 6eb3a5a216
commit 3592916b15

View file

@ -22,6 +22,7 @@
// $Id$ // $Id$
#include <time.h> ///< For clock_t definition.
#include <functional> #include <functional>
#include <algorithm> #include <algorithm>
#include <iostream> #include <iostream>
@ -702,7 +703,7 @@ namespace Loki
return fromKeyToObjVector[key]; return fromKeyToObjVector[key];
} }
AbstractProduct* const getPointerToObjectInContainer(ObjVector &entry) AbstractProduct* getPointerToObjectInContainer(ObjVector &entry)
{ {
if(entry.empty()) // No object available if(entry.empty()) // No object available
{ // the object will be created in the calling function. { // the object will be created in the calling function.