Skip to content

Commit

Permalink
Merge pull request #697 from pika-org/unity_warnings
Browse files Browse the repository at this point in the history
Fix warnings about includes and `#pragma once`
  • Loading branch information
msimberg authored Jun 16, 2023
2 parents 2f14b94 + 2a67f1d commit 48c462e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions libs/pika/coroutines/src/thread_enums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <pika/coroutines/thread_enums.hpp>

#include <cstddef>
#include <iostream>

namespace pika::threads::detail {
namespace strings {
Expand Down
2 changes: 0 additions & 2 deletions libs/pika/threading_base/src/reset_backtrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#pragma once

#include <pika/config.hpp>

#ifdef PIKA_HAVE_THREAD_BACKTRACE_ON_SUSPENSION
Expand Down
2 changes: 0 additions & 2 deletions libs/pika/threading_base/src/reset_lco_description.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#pragma once

#include <pika/config.hpp>

#if defined(PIKA_HAVE_THREAD_DESCRIPTION)
Expand Down

0 comments on commit 48c462e

Please sign in to comment.