Skip to content

Commit

Permalink
Remove static declaration from logger Refs #4399
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Apr 17, 2012
1 parent dc41b58 commit 98e8842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Kernel/inc/MantidKernel/IValidator.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class DLLExport IValidator
{
public:
/// Constructor
IValidator()
IValidator() : g_log(Logger::get("IValidator"))
{}

///virtual Destructor
Expand Down Expand Up @@ -159,7 +159,7 @@ class DLLExport IValidator
return check(boost::any(boost::static_pointer_cast<DataItem>(value)));
}

static Logger & g_log;
Logger & g_log;
};

} // namespace Kernel
Expand Down
2 changes: 0 additions & 2 deletions Code/Mantid/Framework/Kernel/src/IValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ namespace Mantid
{
namespace Kernel
{
/// initialize static logger
DLLExport Logger & IValidator::g_log = Logger::get("IValidator");
}
}

0 comments on commit 98e8842

Please sign in to comment.