Skip to content

Commit

Permalink
Specify the template argument for std::lock_guard
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Jan 30, 2020
1 parent 594df17 commit d9c7a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrapper/lwip.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "lwip/netif.h"
#include "lwip/tcp.h"

#define CORE_LOCK std::lock_guard gurad(this->core_mtx_)
#define CORE_LOCK std::lock_guard<std::recursive_mutex> gurad(this->core_mtx_)

namespace toys {
namespace wrapper {
Expand Down

0 comments on commit d9c7a84

Please sign in to comment.