From d6f9fe4e24802eb34a9f209527e5f425ded4eee1 Mon Sep 17 00:00:00 2001 From: Marco Biasini <marco.biasini@unibas.ch> Date: Tue, 25 Jan 2011 22:01:57 +0100 Subject: [PATCH] silence two more warnings --- modules/img/alg/src/local_sigma_threshold.cc | 9 +++++++-- modules/img/alg/src/randomize.cc | 8 ++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/modules/img/alg/src/local_sigma_threshold.cc b/modules/img/alg/src/local_sigma_threshold.cc index b8bedca1e..4a11b7077 100644 --- a/modules/img/alg/src/local_sigma_threshold.cc +++ b/modules/img/alg/src/local_sigma_threshold.cc @@ -66,5 +66,10 @@ ImageStateBasePtr LocalSigmaThresholdBase::VisitState(const ImageStateImpl<T,D>& } -template class TEMPLATE_DEF_EXPORT ImageStateConstModOPAlgorithm<alg::LocalSigmaThresholdBase>; -}} // ns + +namespace image_state { + +template class TEMPLATE_DEF_EXPORT ImageStateConstModOPAlgorithm<alg::LocalSigmaThresholdBase>; + +}}} // ns + diff --git a/modules/img/alg/src/randomize.cc b/modules/img/alg/src/randomize.cc index 9dd063ca2..112abf0ec 100644 --- a/modules/img/alg/src/randomize.cc +++ b/modules/img/alg/src/randomize.cc @@ -20,9 +20,9 @@ #include "randomize.hh" -namespace ost { namespace img { +namespace ost { namespace img { namespace image_state { + +template class TEMPLATE_DEF_EXPORT ImageStateConstModIPAlgorithm<alg::RandomizeFnc>; -template class TEMPLATE_DEF_EXPORT ImageStateConstModIPAlgorithm<alg::RandomizeFnc>; - -}} // ns +}}} // ns -- GitLab