diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-04-09 17:02:19 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-04-09 17:02:19 +0200 |
| commit | b86730a4d74471378fbafb2bac9839110f520b76 (patch) | |
| tree | 9ff80ec448db8ed7f380fb8f8b8b15205a141192 /src/httpserver.cpp | |
| parent | util: Pass pthread_self() to pthread_setschedparam instead of 0 (diff) | |
| download | discoin-b86730a4d74471378fbafb2bac9839110f520b76.tar.xz discoin-b86730a4d74471378fbafb2bac9839110f520b76.zip | |
util: Remove designator initializer from ScheduleBatchPriority
Although no compiler appears to complain about it, these are
not valid for c++11.
(http://en.cppreference.com/w/cpp/language/aggregate_initialization says they're c++20)
The structure is defined as:
struct sched_param {
int sched_priority;
};
So passing 0 for the first field has the same effect.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions