Skip to content

Commit

Permalink
[COM] Allow const methods with interface parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaszm committed Dec 12, 2024
1 parent 5ede424 commit d5b14f4
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 d5b14f4

Please sign in to comment.