Skip to content

Commit

Permalink
Remove export attribute from inline half functions
Browse files Browse the repository at this point in the history
Meaningless, and generates a warning under MinGW

Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Nov 9, 2022
1 parent 443b7f0 commit 69a1e7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Imath/half.h
Original file line number Diff line number Diff line change
Expand Up @@ -619,10 +619,10 @@ class IMATH_EXPORT_TYPE half
/// @name Access to the internal representation

/// Return the bit pattern
IMATH_EXPORT constexpr uint16_t bits () const IMATH_NOEXCEPT;
constexpr uint16_t bits () const IMATH_NOEXCEPT;

/// Set the bit pattern
IMATH_EXPORT IMATH_CONSTEXPR14 void setBits (uint16_t bits) IMATH_NOEXCEPT;
IMATH_CONSTEXPR14 void setBits (uint16_t bits) IMATH_NOEXCEPT;

/// @}

Expand Down

0 comments on commit 69a1e7e

Please sign in to comment.