diff options
Diffstat (limited to 'src/lib/base/algo_registry.h')
-rw-r--r-- | src/lib/base/algo_registry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/base/algo_registry.h b/src/lib/base/algo_registry.h index a431e9178..4265b737d 100644 --- a/src/lib/base/algo_registry.h +++ b/src/lib/base/algo_registry.h @@ -186,7 +186,7 @@ class Algo_Registry { std::vector<maker_fn> r; - if(req_provider != "") + if(!req_provider.empty()) { // find one explicit provider requested by user or fail auto i = m_maker_fns.find(req_provider); |