layers: Fix enum use in GetStateStructPtrFromObject
authorChris Forbes <chrisforbes@google.com>
Mon, 24 Apr 2017 18:39:44 +0000 (11:39 -0700)
committerChris Forbes <chrisf@ijw.co.nz>
Mon, 24 Apr 2017 19:39:07 +0000 (07:39 +1200)
commitf7c4c68320478e1f30ce99faa178664f520280be
tree093c4e04fb31c523f3ac4fad3a2e838f05f8b698
parent1ac1eca2254c01322ad5ec4d3743d31d4cc32d9e
layers: Fix enum use in GetStateStructPtrFromObject

Everything around this was updated to use the new enums, but not this
function. Mostly works by accident since many of these coincide.
layers/core_validation.cpp