summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.threads
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-07-19 22:02:29 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-07-19 22:02:29 +0000
commitb1ba797d0d40ef785223913a210b63cd0d3d93ed (patch)
tree17f28c86d238d62e1d9cff5a96f2d7e71eb90acb /libcxx/test/std/thread/thread.threads
parent73f9077721cc74093bc0a1daf83c4bc7940e8752 (diff)
downloadbcm5719-llvm-b1ba797d0d40ef785223913a210b63cd0d3d93ed.tar.gz
bcm5719-llvm-b1ba797d0d40ef785223913a210b63cd0d3d93ed.zip
[libcxx] [test] Fix Clang -Wunused-local-typedef warnings.
Fix D34536. llvm-svn: 308534
Diffstat (limited to 'libcxx/test/std/thread/thread.threads')
-rw-r--r--libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp b/libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp
index 9f3941b93ad..6b622029365 100644
--- a/libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp
+++ b/libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp
@@ -22,7 +22,6 @@ int main()
{
typedef std::chrono::system_clock Clock;
typedef Clock::time_point time_point;
- typedef Clock::duration duration;
std::chrono::milliseconds ms(500);
time_point t0 = Clock::now();
std::this_thread::sleep_until(t0 + ms);
OpenPOWER on IntegriCloud