Remove unused variant typedef

This commit is contained in:
ThePhD 2018-03-11 20:12:23 -04:00
parent 22ecb743d7
commit 3f65ad43d8
3 changed files with 4 additions and 6 deletions

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2018-03-11 01:45:34.909172 UTC // Generated 2018-03-12 00:06:06.950598 UTC
// This header was generated with sol v2.19.5 (revision a83091c) // This header was generated with sol v2.19.5 (revision 22ecb74)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -9692,7 +9692,6 @@ namespace stack {
template <typename Handler> template <typename Handler>
static optional<V> get_empty(std::false_type, lua_State* L, int index, Handler&& handler, record&) { static optional<V> get_empty(std::false_type, lua_State* L, int index, Handler&& handler, record&) {
typedef std::variant_alternative_t<0, V> T;
// This should never be reached... // This should never be reached...
// please check your code and understand what you did to bring yourself here // please check your code and understand what you did to bring yourself here
// maybe file a bug report, or 5 // maybe file a bug report, or 5

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2018-03-11 01:45:35.146803 UTC // Generated 2018-03-12 00:06:07.281639 UTC
// This header was generated with sol v2.19.5 (revision a83091c) // This header was generated with sol v2.19.5 (revision 22ecb74)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP

View File

@ -158,7 +158,6 @@ namespace stack {
template <typename Handler> template <typename Handler>
static optional<V> get_empty(std::false_type, lua_State* L, int index, Handler&& handler, record&) { static optional<V> get_empty(std::false_type, lua_State* L, int index, Handler&& handler, record&) {
typedef std::variant_alternative_t<0, V> T;
// This should never be reached... // This should never be reached...
// please check your code and understand what you did to bring yourself here // please check your code and understand what you did to bring yourself here
// maybe file a bug report, or 5 // maybe file a bug report, or 5