diff --git a/contrib/epee/include/syncobj.h b/contrib/epee/include/syncobj.h index 4f7e0903..6a763506 100644 --- a/contrib/epee/include/syncobj.h +++ b/contrib/epee/include/syncobj.h @@ -607,14 +607,9 @@ namespace epee ~guarded_critical_region_t() { - // TODO(unassigned): because one cannot forward-declare macros, - // the circular dependency created by misc_log_ex will not - // allow us to actually use these substitutions. - //NESTED_TRY_ENTRY(); - + TRY_ENTRY(); unlock(); - - //NESTED_CATCH_ENTRY(__func__); + CATCH_ENTRY(void()); } void unlock()