aboutsummaryrefslogtreecommitdiff
path: root/src/universe.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-05-02 10:18:37 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-05-02 10:18:37 +0200
commit84889233bfec4ad11ee1160fe63acbbbba7275e7 (patch)
tree236643b48bbc1a31f26a70d702a7e3f6b93b723f /src/universe.cpp
parent8e64f794f08cb3e4f930df5bb17c3a7061516cca (diff)
downloadlanes-84889233bfec4ad11ee1160fe63acbbbba7275e7.tar.gz
lanes-84889233bfec4ad11ee1160fe63acbbbba7275e7.tar.bz2
lanes-84889233bfec4ad11ee1160fe63acbbbba7275e7.zip
Progressively applying the coding rules
Diffstat (limited to 'src/universe.cpp')
-rw-r--r--src/universe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp
index 4dce427..bf64560 100644
--- a/src/universe.cpp
+++ b/src/universe.cpp
@@ -60,7 +60,7 @@ Universe::Universe()
60 // the launched threads (even -2). 60 // the launched threads (even -2).
61 // 61 //
62#ifdef LINUX_SCHED_RR 62#ifdef LINUX_SCHED_RR
63 if (m_sudo) { 63 if (sudo) {
64 struct sched_param sp; 64 struct sched_param sp;
65 sp.sched_priority = _PRIO_0; 65 sp.sched_priority = _PRIO_0;
66 PT_CALL(pthread_setschedparam(pthread_self(), SCHED_RR, &sp)); 66 PT_CALL(pthread_setschedparam(pthread_self(), SCHED_RR, &sp));