From 815c3d71b9bcc54b039d406480115e9cbb77cc1f Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Thu, 22 Nov 2018 00:48:02 +0100 Subject: [PATCH] Make the old error and dispatch tag not throw deprecation warnings for now --- include/continuable/continuable-primitives.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/continuable/continuable-primitives.hpp b/include/continuable/continuable-primitives.hpp index ce3b688..42027d5 100644 --- a/include/continuable/continuable-primitives.hpp +++ b/include/continuable/continuable-primitives.hpp @@ -73,7 +73,7 @@ namespace cti { /// for whether it resolves the callback instantly with its arguments /// without having side effects. /// -/// \since 4.0.0 +/// \since 3.1.0 struct is_ready_arg_t {}; /// Represents the tag type that is used to query the continuation @@ -81,7 +81,7 @@ struct is_ready_arg_t {}; /// without having side effects. /// It's required that the query of is_ready_arg_t returns true. /// -/// \since 4.0.0 +/// \since 3.1.0 struct get_arg_t {}; /// Represents the tag type that is used to disambiguate the @@ -89,7 +89,7 @@ struct get_arg_t {}; /// /// \note see continuable::next for details. /// -/// \since 4.0.0 +/// \since 3.1.0 struct exception_arg_t {}; /// \copydoc exception_arg_t @@ -98,8 +98,8 @@ struct exception_arg_t {}; /// to the types specified in the "A Unified Future" proposal /// especially regarding naming types similar. /// -[[deprecated("The dispatch_error_tag was replaced by exception_arg_t and will " - "be removed in a later major version!")]] // +// [[deprecated("The dispatch_error_tag was replaced by exception_arg_t and +// "will be removed in a later major version!")]] typedef exception_arg_t dispatch_error_tag; /// Represents the type that is used as exception type @@ -110,7 +110,7 @@ typedef exception_arg_t dispatch_error_tag; /// A custom error type may be set through /// defining `CONTINUABLE_WITH_CUSTOM_ERROR_TYPE`. /// -/// \since 4.0.0 +/// \since 3.1.0 using exception_t = detail::types::exception_t; /// \copydoc exception_t @@ -119,8 +119,8 @@ using exception_t = detail::types::exception_t; /// to the types specified in the "A Unified Future" proposal /// especially regarding naming types similar. /// -[[deprecated("The error_type was replaced by exception_t and will " - "be removed in a later major version!")]] // +// [[deprecated("The error_type was replaced by exception_t and " +// "will be removed in a later major version!")]] // typedef exception_t error_type; /// \} } // namespace cti