STYLE: mark containers empty() and size() as noexcept

This commit is contained in:
Mark Olesen
2019-10-02 09:04:20 +02:00
committed by Andrew Heather
parent 2c11d875ad
commit de11575e1e
42 changed files with 124 additions and 159 deletions

View File

@ -309,7 +309,7 @@ const Foam::Time& Foam::profiling::owner() const
}
Foam::label Foam::profiling::size() const
Foam::label Foam::profiling::size() const noexcept
{
return stack_.size();
}