| 2005 | |
| 2006 | template <typename Conf_T> |
| 2007 | inline Conf_T getConfigByVal(Level level, const std::map<Level, Conf_T>* confMap, const char* confName) { |
| 2008 | base::threading::ScopedLock scopedLock(lock()); |
| 2009 | return unsafeGetConfigByVal(level, confMap, confName); // This is not unsafe anymore - mutex locked in scope |
| 2010 | } |
| 2011 | |
| 2012 | template <typename Conf_T> |
| 2013 | inline Conf_T& getConfigByRef(Level level, std::map<Level, Conf_T>* confMap, const char* confName) { |
nothing calls this directly
no outgoing calls
no test coverage detected