Use nested namespaces (C++17 feature)

This commit is contained in:
Mat Sutcliffe
2021-09-15 21:44:54 +01:00
parent 3f2e5b0b69
commit 57d32da826
1345 changed files with 146075 additions and 150376 deletions

View File

@@ -12,23 +12,20 @@
using namespace BlackMisc::Aviation;
namespace BlackMisc
namespace BlackMisc::Weather
{
namespace Weather
CCloudLayerList::CCloudLayerList(const CSequence<CCloudLayer> &other) :
CSequence<CCloudLayer>(other)
{ }
bool CCloudLayerList::containsBase(const CAltitude &base) const
{
CCloudLayerList::CCloudLayerList(const CSequence<CCloudLayer> &other) :
CSequence<CCloudLayer>(other)
{ }
return contains(&CCloudLayer::getBase, base);
}
bool CCloudLayerList::containsBase(const CAltitude &base) const
{
return contains(&CCloudLayer::getBase, base);
}
CCloudLayer CCloudLayerList::findByBase(const CAltitude &base) const
{
return findFirstByOrDefault(&CCloudLayer::getBase, base);
}
CCloudLayer CCloudLayerList::findByBase(const CAltitude &base) const
{
return findFirstByOrDefault(&CCloudLayer::getBase, base);
}
} // namespace
} // namespace