Skip to content

Commit

Permalink
[doc] Remove obsolete code block
Browse files Browse the repository at this point in the history
  • Loading branch information
endJunction committed Mar 12, 2024
1 parent 44c98ed commit 9cad22f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions BaseLib/Algorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<Value>(some_map, some_key, "error
//! message") \endcode
template <typename Map, typename Key>
typename Map::mapped_type& getOrError(Map& map, Key const& key,
std::string const& error_message)
Expand Down

0 comments on commit 9cad22f

Please sign in to comment.