Skip to content

Commit

Permalink
Merge pull request #6093 from miri64/2016.10/cenk/pr/cpp_rm_exception…
Browse files Browse the repository at this point in the history
…_from_noexcept_func

cpp11-compat: no exceptions in noexcept function [2016.10-backport]
  • Loading branch information
miri64 committed Nov 10, 2016
2 parents b594054 + 87070cc commit 7f7307d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sys/cpp11-compat/condition_variable.cpp
Expand Up @@ -78,11 +78,6 @@ void condition_variable::notify_all() noexcept {
}

void condition_variable::wait(unique_lock<mutex>& lock) noexcept {
if (!lock.owns_lock()) {
throw std::system_error(
std::make_error_code(std::errc::operation_not_permitted),
"Mutex not locked.");
}
priority_queue_node_t n;
n.priority = sched_active_thread->priority;
n.data = sched_active_pid;
Expand Down

0 comments on commit 7f7307d

Please sign in to comment.