Skip to content

Commit

Permalink
Allow const methods on interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaszm committed Dec 12, 2024
1 parent 4bb6cfb commit 067667a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProxyStubGenerator/StubGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ def EmitStub(interface_name, methods, stub_methods_name, interface, prepared_par
#

def EmitCompleteMethod():
emit.Line("uint32_t _Complete(RPC::Data::Frame::Reader& %s)" % vars["reader"])
emit.Line("uint32_t _Complete(RPC::Data::Frame::Reader& %s) const" % vars["reader"])
emit.Line("{")
emit.IndentInc()
emit.Line("uint32_t result = Core::ERROR_NONE;")
Expand Down

0 comments on commit 067667a

Please sign in to comment.