Skip to content

Commit

Permalink
Merge pull request #37 from orens/feature/windows-compilation
Browse files Browse the repository at this point in the history
 Add a default C'tor for spin_lock when MSVC_VER>1800
  • Loading branch information
bingmann committed Jul 21, 2016
2 parents 90fc4ee + 0b8917f commit f3b5d5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/stxxl/bits/common/mutex.h
Expand Up @@ -169,6 +169,9 @@ class spin_lock
{
lck.clear(std::memory_order_release);
}
#else
spin_lock()
{ }
#endif

void lock()
Expand Down

0 comments on commit f3b5d5c

Please sign in to comment.