view: add unused_result warning to redim

This commit is contained in:
Danny Robson 2017-12-26 17:31:40 +11:00
parent e1a41c64de
commit 1123cfe409

View File

@ -163,7 +163,7 @@ namespace util {
}
//---------------------------------------------------------------------
constexpr auto
[[gnu::warn_unused_result]] constexpr auto
redim (int count) const
{
CHECK_GT (count, 0);