martinmoene / variant-lite

variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library
Boost Software License 1.0
239 stars 25 forks source link

Unused variable in `get` #37

Closed mattyclarkson closed 4 years ago

mattyclarkson commented 5 years ago

The i variable is unused if building without exceptions and non-debug.