aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.cpp
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2021-05-18 13:17:09 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2021-05-19 13:59:25 -0600
commit8dba2773ab1101b04346dbce425dab8baab39320 (patch)
treee4cd7a8c7f37c16b237ac0cd1d68184a6adc9099 /cube/cube.cpp
parentf89f72e10562a622b8b96ef28d9ff066f169850f (diff)
downloadusermoji-8dba2773ab1101b04346dbce425dab8baab39320.tar.xz
vulkaninfo: use trivial_optional type instead of pair
Replace the ad-hoc pair with a bool and a type with a proper class that makes the interface clear. The `util::trivial_optional<T>` type requires T to be trivially copyable and constructable, but otherwise follows the conventions of C++17's <optional>. Change-Id: I5b3b981be0af2ecd4b05380a5d030b9ecc0be1d0
Diffstat (limited to 'cube/cube.cpp')
0 files changed, 0 insertions, 0 deletions