Skip to content

Commit

Permalink
Remove the friend declaration with an attribute, which causes compile…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
kingcrimsontianyu committed Sep 6, 2024
1 parent 93d291f commit df198e9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/rmm/mr/device/logging_resource_adaptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,16 +283,6 @@ class logging_resource_adaptor final : public device_memory_resource {
return get_upstream_resource() == cast->get_upstream_resource();
}

// make_logging_adaptor needs access to private get_default_filename
template <typename T>
// NOLINTNEXTLINE(readability-redundant-declaration)
[[deprecated(
"make_logging_adaptor is deprecated in RMM 24.10. Use the logging_resource_adaptor constructor "
"instead.")]]
friend logging_resource_adaptor<T> make_logging_adaptor(T* upstream,
std::string const& filename,
bool auto_flush);

std::shared_ptr<spdlog::logger> logger_; ///< spdlog logger object

Upstream* upstream_; ///< The upstream resource used for satisfying
Expand Down

0 comments on commit df198e9

Please sign in to comment.