Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Both throw `loop_erased_random_walk_stuck` if `out_degree(src, g) == 0`.
[source,cpp]
----
struct loop_erased_random_walk_stuck : public std::exception {
virtual const char* what() const throw();
virtual const char* what() const noexcept;
};
----

Expand Down
4 changes: 2 additions & 2 deletions include/boost/graph/loop_erased_random_walk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ namespace boost
struct BOOST_SYMBOL_VISIBLE loop_erased_random_walk_stuck
: public std::exception
{
virtual ~loop_erased_random_walk_stuck() throw() {}
inline virtual const char* what() const throw()
virtual ~loop_erased_random_walk_stuck() {}
inline virtual const char* what() const noexcept
{
return "Loop-erased random walk found a vertex with no out-edges";
}
Expand Down
Loading