From 067667a8c4a45d2099f4d03a8b13ba7dcef6ef4e Mon Sep 17 00:00:00 2001 From: sebaszm Date: Thu, 12 Dec 2024 18:58:57 +0100 Subject: [PATCH] Allow const methods on interfaces --- ProxyStubGenerator/StubGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProxyStubGenerator/StubGenerator.py b/ProxyStubGenerator/StubGenerator.py index 356ec0f..92aafe3 100755 --- a/ProxyStubGenerator/StubGenerator.py +++ b/ProxyStubGenerator/StubGenerator.py @@ -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;")