use true_type to represent success

master
Francisco Paisana 5 years ago committed by Francisco Paisana
parent 791d84e639
commit 65abcd2903

@ -207,10 +207,8 @@ private:
}; };
}; };
struct success_t {};
template <typename E> template <typename E>
using error_type = expected<success_t, E>; using error_type = expected<std::true_type, E>;
} // namespace srslte } // namespace srslte

Loading…
Cancel
Save