aboutsummaryrefslogtreecommitdiff
path: root/paludis
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-03 16:35:07 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-03 16:35:07 -0800
commit65383b793fc679da28ee592a88717a58aa974028 (patch)
treef601b572aaf10edf366bad757f010983b390a361 /paludis
parente8ff6e6d14bbe6ad6c915d9669efc3893cfa06ba (diff)
downloadpaludis-65383b793fc679da28ee592a88717a58aa974028.tar.gz
paludis-65383b793fc679da28ee592a88717a58aa974028.tar.xz
args: move the visibility macros to the definition
This silences a large amount of warning spew due to the attribute having no effect. NFC.
Diffstat (limited to 'paludis')
-rw-r--r--paludis/args/args_handler.cc18
-rw-r--r--paludis/args/args_handler.hh18
2 files changed, 18 insertions, 18 deletions
diff --git a/paludis/args/args_handler.cc b/paludis/args/args_handler.cc
index 6481bf1..9ce2631 100644
--- a/paludis/args/args_handler.cc
+++ b/paludis/args/args_handler.cc
@@ -481,13 +481,13 @@ ArgsHandler::separate_after_dashes_args() const
namespace paludis
{
- template class WrappedForwardIterator<ArgsHandler::ParametersConstIteratorTag, const std::string>;
- template class WrappedForwardIterator<ArgsHandler::UsageLineConstIteratorTag, const std::string>;
- template class WrappedForwardIterator<ArgsHandler::EnvironmentLineConstIteratorTag, const std::pair<std::string, std::string>>;
- template class WrappedForwardIterator<ArgsHandler::ExamplesConstIteratorTag, const std::pair<std::string, std::string>>;
- template class WrappedForwardIterator<ArgsHandler::ArgsSectionsConstIteratorTag, const ArgsSection>;
- template class WrappedForwardIterator<ArgsHandler::NotesIteratorTag, const std::string>;
- template class WrappedForwardIterator<ArgsHandler::DescriptionLineConstIteratorTag, const std::string>;
- template class WrappedForwardIterator<ArgsHandler::ArgsIteratorTag, std::string>;
- template class WrappedForwardIterator<ArgsHandler::SeeAlsoConstIteratorTag, const std::pair<std::string, int> >;
+ template class PALUDIS_VISIBLE WrappedForwardIterator<ArgsHandler::ParametersConstIteratorTag, const std::string>;
+ template class PALUDIS_VISIBLE WrappedForwardIterator<ArgsHandler::UsageLineConstIteratorTag, const std::string>;
+ template class PALUDIS_VISIBLE WrappedForwardIterator<ArgsHandler::EnvironmentLineConstIteratorTag, const std::pair<std::string, std::string>>;
+ template class PALUDIS_VISIBLE WrappedForwardIterator<ArgsHandler::ExamplesConstIteratorTag, const std::pair<std::string, std::string>>;
+ template class PALUDIS_VISIBLE WrappedForwardIterator<ArgsHandler::ArgsSectionsConstIteratorTag, const ArgsSection>;
+ template class PALUDIS_VISIBLE WrappedForwardIterator<ArgsHandler::NotesIteratorTag, const std::string>;
+ template class PALUDIS_VISIBLE WrappedForwardIterator<ArgsHandler::DescriptionLineConstIteratorTag, const std::string>;
+ template class PALUDIS_VISIBLE WrappedForwardIterator<ArgsHandler::ArgsIteratorTag, std::string>;
+ template class PALUDIS_VISIBLE WrappedForwardIterator<ArgsHandler::SeeAlsoConstIteratorTag, const std::pair<std::string, int> >;
}
diff --git a/paludis/args/args_handler.hh b/paludis/args/args_handler.hh
index e8208cb..8d9be6f 100644
--- a/paludis/args/args_handler.hh
+++ b/paludis/args/args_handler.hh
@@ -352,15 +352,15 @@ namespace paludis
std::ostream & operator<< (std::ostream &, const ArgsHandler &) PALUDIS_VISIBLE;
}
- extern template class PALUDIS_VISIBLE WrappedForwardIterator<args::ArgsHandler::ParametersConstIteratorTag, const std::string>;
- extern template class PALUDIS_VISIBLE WrappedForwardIterator<args::ArgsHandler::UsageLineConstIteratorTag, const std::string>;
- extern template class PALUDIS_VISIBLE WrappedForwardIterator<args::ArgsHandler::EnvironmentLineConstIteratorTag, const std::pair<std::string, std::string>>;
- extern template class PALUDIS_VISIBLE WrappedForwardIterator<args::ArgsHandler::ExamplesConstIteratorTag, const std::pair<std::string, std::string>>;
- extern template class PALUDIS_VISIBLE WrappedForwardIterator<args::ArgsHandler::ArgsSectionsConstIteratorTag, const args::ArgsSection>;
- extern template class PALUDIS_VISIBLE WrappedForwardIterator<args::ArgsHandler::DescriptionLineConstIteratorTag, const std::string>;
- extern template class PALUDIS_VISIBLE WrappedForwardIterator<args::ArgsHandler::NotesIteratorTag, const std::string>;
- extern template class PALUDIS_VISIBLE WrappedForwardIterator<args::ArgsHandler::ArgsIteratorTag, std::string>;
- extern template class PALUDIS_VISIBLE WrappedForwardIterator<args::ArgsHandler::SeeAlsoConstIteratorTag, const std::pair<std::string, int> >;
+ extern template class WrappedForwardIterator<args::ArgsHandler::ParametersConstIteratorTag, const std::string>;
+ extern template class WrappedForwardIterator<args::ArgsHandler::UsageLineConstIteratorTag, const std::string>;
+ extern template class WrappedForwardIterator<args::ArgsHandler::EnvironmentLineConstIteratorTag, const std::pair<std::string, std::string>>;
+ extern template class WrappedForwardIterator<args::ArgsHandler::ExamplesConstIteratorTag, const std::pair<std::string, std::string>>;
+ extern template class WrappedForwardIterator<args::ArgsHandler::ArgsSectionsConstIteratorTag, const args::ArgsSection>;
+ extern template class WrappedForwardIterator<args::ArgsHandler::DescriptionLineConstIteratorTag, const std::string>;
+ extern template class WrappedForwardIterator<args::ArgsHandler::NotesIteratorTag, const std::string>;
+ extern template class WrappedForwardIterator<args::ArgsHandler::ArgsIteratorTag, std::string>;
+ extern template class WrappedForwardIterator<args::ArgsHandler::SeeAlsoConstIteratorTag, const std::pair<std::string, int> >;
}
#endif