diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-07 08:47:08 +0200 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-07 09:03:11 +0200 |
commit | 0b23a31b435a2982f9d70de78ba5e30770b4d52e (patch) | |
tree | 0cd83dfab0f91b6fd83c2dd6dcc78a18683dc29a /methods.py | |
parent | 36e91b07d8523ec23306ae0f2491523d8577554c (diff) |
Fix warnings comparing enums of different types
This fixes a source of many compiler warnings regarding comparing the
enum VARIANT_TYPE to Variant::Type. This changes the local value to a
static const Variant::Type value rather than an unrelated enum, this
also saves us a cast.
Diffstat (limited to 'methods.py')
0 files changed, 0 insertions, 0 deletions