Skip to content

Commit

Permalink
Reverse on of the change for fix to issue #159. Sometimes, except(fal…
Browse files Browse the repository at this point in the history
…se) is useful.
  • Loading branch information
songweijia committed Jun 6, 2020
1 parent 9e2f1d5 commit 3d6038f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/derecho/persistent/HLC.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class HLC {
HLC(uint64_t _r, uint64_t _l);

// destructors
virtual ~HLC();
virtual ~HLC() noexcept(false);

// ticking method - thread safe
virtual void tick(bool thread_safe = true);
Expand Down
2 changes: 1 addition & 1 deletion src/persistent/HLC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ HLC::HLC(uint64_t _r, uint64_t _l) : m_rtc_us(_r), m_logic(_l) {
}
}

HLC::~HLC() {
HLC::~HLC() noexcept(false) {
if(pthread_spin_destroy(&this->m_oLck) != 0) {
throw HLC_EXP_SPIN_DESTROY(errno);
}
Expand Down

0 comments on commit 3d6038f

Please sign in to comment.