Skip to content

Commit

Permalink
[COM] Allow const methods with interface parameters (#1813)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaszm authored Dec 17, 2024
1 parent 1e916dc commit c3c006d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/com/IUnknown.h
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ namespace ProxyStub {
delete &_parent;
}
}
inline uint32_t Complete(const Core::instance_id& impl, const uint32_t id, const RPC::Data::Output::mode how)
inline uint32_t Complete(const Core::instance_id& impl, const uint32_t id, const RPC::Data::Output::mode how) const
{
// This method is called from the stubs.
uint32_t result = Core::ERROR_NONE;
Expand Down Expand Up @@ -500,7 +500,7 @@ POP_WARNING()
{
return (_unknown.Interface(implementation, id));
}
uint32_t Complete(const Core::instance_id& instance, const uint32_t id, const RPC::Data::Output::mode how)
uint32_t Complete(const Core::instance_id& instance, const uint32_t id, const RPC::Data::Output::mode how) const
{
return (_unknown.Complete(instance, id, how));
}
Expand Down

0 comments on commit c3c006d

Please sign in to comment.