From 65abcd2903cfc5beaff9531fde92384c70aa502a Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Thu, 7 May 2020 17:47:47 +0100 Subject: [PATCH] use true_type to represent success --- lib/include/srslte/common/expected.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/include/srslte/common/expected.h b/lib/include/srslte/common/expected.h index 6c7cee2e5..ac1ce603a 100644 --- a/lib/include/srslte/common/expected.h +++ b/lib/include/srslte/common/expected.h @@ -207,10 +207,8 @@ private: }; }; -struct success_t {}; - template -using error_type = expected; +using error_type = expected; } // namespace srslte