From e4dc933b180029ba53f955e29c5637ef838e2c59 Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Sun, 25 Sep 2016 22:01:38 +0200 Subject: [PATCH] Cleanup --- tstl/include/expected.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tstl/include/expected.hpp b/tstl/include/expected.hpp index a0443c58..d55289ce 100644 --- a/tstl/include/expected.hpp +++ b/tstl/include/expected.hpp @@ -66,7 +66,7 @@ union trivial_expected_storage { template union trivial_expected_storage { - using value_type = Type; ///< The value type + using value_type = void; ///< The value type using error_type = E; ///< The error type error_type error; ///< The error value @@ -112,7 +112,7 @@ struct non_trivial_expected_storage { template struct non_trivial_expected_storage { - using value_type = Type; ///< The value type + using value_type = void; ///< The value type using error_type = E; ///< The error type error_type error; ///< The error value