Skip to content

Commit

Permalink
Remove unnecessary type cast and overload
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
  • Loading branch information
SAtacker committed Feb 2, 2025
1 parent ccde71f commit 43fe5d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions libs/core/concurrency/tests/unit/tagged_ptr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void tagged_ptr_test()
i = j;

HPX_TEST_EQ(i.get_ptr(), &b);
HPX_TEST_EQ(i.get_tag(), 1UL);
HPX_TEST_EQ(i.get_tag(), 1);
}

{
Expand All @@ -43,7 +43,7 @@ void tagged_ptr_test()

{
tagged_ptr<int> j(&a, max_tag);
HPX_TEST_EQ(j.get_next_tag(), 0UL);
HPX_TEST_EQ(j.get_next_tag(), 0);
}

{
Expand Down
4 changes: 0 additions & 4 deletions libs/core/debugging/src/print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ namespace hpx::debug {
std::ostream&, std::int32_t const&, int);
template HPX_CORE_EXPORT void print_dec(
std::ostream&, std::int64_t const&, int);
#ifdef __APPLE__
template HPX_CORE_EXPORT void print_dec(
std::ostream&, unsigned long const&, int);
#endif
template HPX_CORE_EXPORT void print_dec(
std::ostream&, std::uint64_t const&, int);

Expand Down

0 comments on commit 43fe5d7

Please sign in to comment.