mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
STYLE: mark containers empty() and size() as noexcept
This commit is contained in:
committed by
Andrew Heather
parent
2c11d875ad
commit
de11575e1e
@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user