From 9cad22f1c3664177bf77ada1615445cff8127c9b Mon Sep 17 00:00:00 2001 From: Dmitri Naumov Date: Mon, 11 Mar 2024 21:52:34 +0100 Subject: [PATCH] [doc] Remove obsolete code block --- BaseLib/Algorithm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/BaseLib/Algorithm.h b/BaseLib/Algorithm.h index cc0c0d495b6..e120e31dcc2 100644 --- a/BaseLib/Algorithm.h +++ b/BaseLib/Algorithm.h @@ -109,8 +109,6 @@ void insertIfKeyUniqueElseError(Map& map, Key const& key, Value&& value, //! Returns the value of \c key from the given \c map if such an entry exists; //! otherwise an \c error_message is printed and the program is aborted. //! Cf. also the const overload below. -//! \remark Use as: \code{.cpp} get_or_error(some_map, some_key, "error -//! message") \endcode template typename Map::mapped_type& getOrError(Map& map, Key const& key, std::string const& error_message)