Skip to content

Commit

Permalink
Process : Remove non-const handleException() method
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Sep 20, 2023
1 parent 0f8b259 commit ac5c33b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Breaking Changes
----------------

- Dispatcher : Removed `createMatching()` method.
- Process : Removed non-const variant of the `handleException()` method.

1.3.x.x (relative to 1.3.3.0)
=======
Expand Down
2 changes: 0 additions & 2 deletions include/Gaffer/Process.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ class GAFFER_API Process : private ThreadState::Scope
/// and rethrow the exception for propagation back to
/// the original caller.
[[noreturn]] void handleException() const;
/// \todo This just exists for ABI compatibility. Remove it.
void handleException();

private :

Expand Down
5 changes: 0 additions & 5 deletions src/Gaffer/Process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ void Process::handleException() const
}
}

void Process::handleException()
{
const_cast<const Process *>( this )->handleException();
}

void Process::emitError( const std::string &error, const Plug *source ) const
{
const Plug *plug = m_destinationPlug;
Expand Down

0 comments on commit ac5c33b

Please sign in to comment.