aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis
diff options
context:
space:
mode:
authorAvatar Elias Pipping <pipping@exherbo.org> 2011-08-07 03:35:05 +0200
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-08-07 18:18:38 +0100
commit0d9560ed1d5bfcb57752a0f4e66c74eef64188f4 (patch)
tree5789db7a2e875e7249a29ba9fc16e9bd6851287b /paludis/environments/paludis
parentf4136ef1d6b8bcb2bf1ce5c0a418b29961dc7948 (diff)
downloadpaludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.gz
paludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.xz
Move explicit instantiations to namespace paludis
Makes clang++ happy
Diffstat (limited to 'paludis/environments/paludis')
-rw-r--r--paludis/environments/paludis/extra_distribution_data.cc8
-rw-r--r--paludis/environments/paludis/output_conf.cc6
-rw-r--r--paludis/environments/paludis/paludis_config.cc6
-rw-r--r--paludis/environments/paludis/suggestions_conf.cc6
4 files changed, 17 insertions, 9 deletions
diff --git a/paludis/environments/paludis/extra_distribution_data.cc b/paludis/environments/paludis/extra_distribution_data.cc
index af09445e5..df0529a05 100644
--- a/paludis/environments/paludis/extra_distribution_data.cc
+++ b/paludis/environments/paludis/extra_distribution_data.cc
@@ -58,6 +58,8 @@ namespace paludis
};
}
-template class ExtraDistributionData<PaludisDistribution>;
-template class Singleton<ExtraDistributionData<PaludisDistribution>>;
-
+namespace paludis
+{
+ template class ExtraDistributionData<PaludisDistribution>;
+ template class Singleton<ExtraDistributionData<PaludisDistribution>>;
+}
diff --git a/paludis/environments/paludis/output_conf.cc b/paludis/environments/paludis/output_conf.cc
index 0f68207a7..6e5b96526 100644
--- a/paludis/environments/paludis/output_conf.cc
+++ b/paludis/environments/paludis/output_conf.cc
@@ -487,5 +487,7 @@ OutputConf::create_named_output_manager(const std::string & s, const CreateOutpu
);
}
-template class Pimp<paludis_environment::OutputConf>;
-
+namespace paludis
+{
+ template class Pimp<paludis_environment::OutputConf>;
+}
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index c7625acb1..e695e6390 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -1155,5 +1155,7 @@ PaludisConfig::distribution() const
return _imp->distribution;
}
-template class WrappedForwardIterator<PaludisConfig::RepositoryConstIteratorTag, const std::function<std::string (const std::string &)> >;
-
+namespace paludis
+{
+ template class WrappedForwardIterator<PaludisConfig::RepositoryConstIteratorTag, const std::function<std::string (const std::string &)> >;
+}
diff --git a/paludis/environments/paludis/suggestions_conf.cc b/paludis/environments/paludis/suggestions_conf.cc
index fa9c313d0..65c026d91 100644
--- a/paludis/environments/paludis/suggestions_conf.cc
+++ b/paludis/environments/paludis/suggestions_conf.cc
@@ -297,5 +297,7 @@ SuggestionsConf::interest_in_suggestion(
return indeterminate;
}
-template class Pimp<SuggestionsConf>;
-
+namespace paludis
+{
+ template class Pimp<SuggestionsConf>;
+}