diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2017-10-27 01:57:52 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2017-10-27 08:50:17 +0000 |
commit | 2bf0eaac4188d9e6b0efc72599297b68f6e80486 (patch) | |
tree | 8026a53c1a980a4a758446ebd609473ab00556a8 /documentapi/src/tests | |
parent | c1a847ff3e9cf48187131079c736e660474fe7d2 (diff) |
Reduce use of FastOS_Mutex and FastOS_Cond.
Remove handover tricks, use move constructor and move assignment instead.
Diffstat (limited to 'documentapi/src/tests')
-rw-r--r-- | documentapi/src/tests/systemstate/systemstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentapi/src/tests/systemstate/systemstate.cpp b/documentapi/src/tests/systemstate/systemstate.cpp index 7aadf82aeed..3e42c94950a 100644 --- a/documentapi/src/tests/systemstate/systemstate.cpp +++ b/documentapi/src/tests/systemstate/systemstate.cpp @@ -174,7 +174,7 @@ Test::testHandle() SystemStateHandle handle(*state); ASSERT_TRUE(handle.isValid()); - SystemStateHandle hoe(handle); + SystemStateHandle hoe(std::move(handle)); ASSERT_TRUE(!handle.isValid()); ASSERT_TRUE(hoe.isValid()); } |