aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_factory
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-07-12 23:53:30 +0000
committerlloyd <[email protected]>2011-07-12 23:53:30 +0000
commit851f8d1535be56679f7779c3382184608fe11c7b (patch)
tree831f1b6b575e79e50be51455b779a4627076ce2d /src/algo_factory
parent872725373844c6f364507c9ed994cc5396ee5fd0 (diff)
Use nullptr
Diffstat (limited to 'src/algo_factory')
-rw-r--r--src/algo_factory/algo_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algo_factory/algo_cache.h b/src/algo_factory/algo_cache.h
index 56329024a..3a792c994 100644
--- a/src/algo_factory/algo_cache.h
+++ b/src/algo_factory/algo_cache.h
@@ -138,7 +138,7 @@ const T* Algorithm_Cache<T>::get(const std::string& algo_spec,
if(prov_name == pref_provider)
return i->second;
- if(prototype == 0 || prov_weight > prototype_prov_weight)
+ if(prototype == nullptr || prov_weight > prototype_prov_weight)
{
prototype = i->second;
prototype_provider = i->first;