Use std::scoped_lock only for C++17 and newer
authorAaron Puchert <aaronpuchert@alice-dsl.net>
Wed, 10 Oct 2018 22:05:33 +0000 (22:05 +0000)
committerAaron Puchert <aaronpuchert@alice-dsl.net>
Wed, 10 Oct 2018 22:05:33 +0000 (22:05 +0000)
commit0e192395f162e7571a1f92ba1528a8080e507777
tree868784484a0e29e2a0e13eee4d99dbc6e4c60dd8
parent336db683782ba037b6e6b11711fc8d199d48f1c4
Use std::scoped_lock only for C++17 and newer

This fixes a test failure caused by D53049.

llvm-svn: 344192
libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp