aboutsummaryrefslogtreecommitdiffstats
path: root/tests/threadtest.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-20 14:38:14 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-20 14:38:14 +0000
commitc60164953dd6a4ee485c42211a3bcf8ee9eba06f (patch)
treea66408a1ad9423512c4fe53cf89dbacf502592dd /tests/threadtest.cpp
parent16905976c82c57fdc98a8988392354597f166a12 (diff)
downloadYAGE-c60164953dd6a4ee485c42211a3bcf8ee9eba06f.tar.gz
YAGE-c60164953dd6a4ee485c42211a3bcf8ee9eba06f.zip
Fixed license headers
Diffstat (limited to 'tests/threadtest.cpp')
-rw-r--r--tests/threadtest.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/threadtest.cpp b/tests/threadtest.cpp
index 9ea46e62..0527665a 100644
--- a/tests/threadtest.cpp
+++ b/tests/threadtest.cpp
@@ -1,5 +1,5 @@
-/* ----------------------------------------------------------------------------
- * threadtest.cpp
+/** ---------------------------------------------------------------------------
+ * @file: threadtest.cpp
*
* Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
* MIT License, see LICENSE file for more details.
@@ -17,9 +17,7 @@ int main()
std::cout << "n before: " << n << "\n";
- auto f = [&] () {
- n = 8;
- };
+ auto f = [&]() { n = 8; };
std::thread t1(f);