Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz committed Mar 2, 2021
1 parent c7ae85f commit 601654a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Imath/ImathTypeTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct has_xy {
typedef char Yes[1];
typedef char No[2];

// Valid only if .x, .y, .z exist and are the right type: return a Yes.
// Valid only if .x, .y exist and are the right type: return a Yes.
template<typename C,
IMATH_ENABLE_IF(std::is_same<decltype(C().x), Base>::value),
IMATH_ENABLE_IF(std::is_same<decltype(C().y), Base>::value)>
Expand Down Expand Up @@ -133,7 +133,7 @@ struct has_xyzw {
typedef char Yes[1];
typedef char No[2];

// Valid only if .x, .y, .z exist and are the right type: return a Yes.
// Valid only if .x, .y, .z, .w exist and are the right type: return a Yes.
template<typename C,
IMATH_ENABLE_IF(std::is_same<decltype(C().x), Base>::value),
IMATH_ENABLE_IF(std::is_same<decltype(C().y), Base>::value),
Expand Down

0 comments on commit 601654a

Please sign in to comment.