view: add unused_result warning to redim
This commit is contained in:
parent
e1a41c64de
commit
1123cfe409
2
view.hpp
2
view.hpp
@ -163,7 +163,7 @@ namespace util {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
constexpr auto
|
[[gnu::warn_unused_result]] constexpr auto
|
||||||
redim (int count) const
|
redim (int count) const
|
||||||
{
|
{
|
||||||
CHECK_GT (count, 0);
|
CHECK_GT (count, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user