Skip to content

Commit

Permalink
remove unnecessary friend declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
bfraboni committed Aug 29, 2024
1 parent 553284c commit baa3cef
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/include/OpenImageIO/imageio.h
Original file line number Diff line number Diff line change
Expand Up @@ -1895,10 +1895,6 @@ class OIIO_API ImageInput {
std::unique_ptr<Impl, decltype(&impl_deleter)> m_impl;

void append_error(string_view message) const; // add to error message

/// declare friend heapsize and footprint definitions
template <typename T> friend size_t pvt::heapsize(const T&);
template <typename T> friend size_t pvt::footprint(const T&);
};


Expand Down Expand Up @@ -2813,10 +2809,6 @@ class OIIO_API ImageOutput {
std::unique_ptr<Impl, decltype(&impl_deleter)> m_impl;

void append_error(string_view message) const; // add to m_errmessage

/// declare friend heapsize and footprint definitions
template <typename T> friend size_t pvt::heapsize(const T&);
template <typename T> friend size_t pvt::footprint(const T&);
};


Expand Down

0 comments on commit baa3cef

Please sign in to comment.