Skip to content

Commit

Permalink
Merge #697
Browse files Browse the repository at this point in the history
697: Fix warnings about includes and `#pragma once` r=aurianer a=biddisco

Fix a couple of warnings/errors that appeared when unity build was disabled. 

Co-authored-by: John Biddiscombe <biddisco@cscs.ch>
  • Loading branch information
bors[bot] and biddisco authored Jun 16, 2023
2 parents 2f14b94 + 2a67f1d commit a06eceb
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 a06eceb

Please sign in to comment.