Skip to content

Commit

Permalink
Fix clang format & inspect issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Pansysk75 committed Jul 25, 2023
1 parent 9e45942 commit ec82c86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace hpx::lcos::local::detail {
template <typename Mutex>
struct counting_semaphore_data
{
counting_semaphore_data(std::ptrdiff_t value) noexcept
explicit counting_semaphore_data(std::ptrdiff_t value) noexcept
: sem_(value)
, count_(1)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace hpx {
void set_max_difference(
std::int64_t max_difference, std::int64_t lower_limit = 0) noexcept
{
auto data = data_; //keep alive
auto data = data_; //keep alive
std::unique_lock<mutex_type> l(data->mtx_);
data->sem_.set_max_difference(l, max_difference, lower_limit);
}
Expand Down

0 comments on commit ec82c86

Please sign in to comment.