Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
10.7.x.x (relative to 10.7.0.0a5)
========

Fixes
-----

- CompoundData : Fixed bad formatting of exception messages [^1].

[^1]: To be omitted from the notes for the final 10.7.0.0 release.

10.7.0.0a5 (relative to 10.7.0.0a4)
==========
Expand Down
4 changes: 2 additions & 2 deletions include/IECore/CompoundData.inl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ T *CompoundData::member( const InternedString &name, bool throwExceptions, bool
{
if( throwExceptions )
{
throw Exception( fmt::format( "CompoundData child \"%s\" is not of type \"%s\".", name.value(), T::staticTypeName() ) );
throw Exception( fmt::format( "CompoundData child \"{}\" is not of type \"{}\".", name.value(), T::staticTypeName() ) );
}
else
{
Expand All @@ -120,7 +120,7 @@ T *CompoundData::member( const InternedString &name, bool throwExceptions, bool
}
else if( throwExceptions )
{
throw Exception( fmt::format( "CompoundData has no child named \"%s\".", name.value() ) );
throw Exception( fmt::format( "CompoundData has no child named \"{}\".", name.value() ) );
}
else
{
Expand Down