Skip to content

Commit e9c0515

Browse files
grasci-armedriouk
andauthored
correct RpcHandler::SelectComponent signature (#1236) (#2107)
Co-authored-by: Evgueni Driouk <[email protected]>
1 parent 032fae8 commit e9c0515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/projmgr/src/ProjMgrRpcServer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class RpcHandler : public RpcMethods {
7979
RpcArgs::UsedItems GetUsedItems(const string& context);
8080
RpcArgs::PacksInfo GetPacksInfo(const string& context);
8181
RpcArgs::CtRoot GetComponentsTree(const string& context, const bool& all);
82-
bool SelectComponent(const string& context, const string& aggregateId, int count);
82+
bool SelectComponent(const string& context, const string& aggregateId, const int& count);
8383
bool SelectVariant(const string& context, const string& aggregateId, const string& variantName);
8484
bool SelectVersion(const string& context, const string& aggregateId, const string& version);
8585
bool SelectBundle(const string& context, const string& className, const string& bundleName);
@@ -307,7 +307,7 @@ RpcArgs::CtRoot RpcHandler::GetComponentsTree(const string& context, const bool&
307307
return ctRoot;
308308
}
309309

310-
bool RpcHandler::SelectComponent(const string& context, const string& id, int count) {
310+
bool RpcHandler::SelectComponent(const string& context, const string& id, const int& count) {
311311
// first try full component ID
312312
RteComponent* rteComponent = GetContext(context).rteActiveTarget->GetComponent(id);
313313
if(rteComponent) {

0 commit comments

Comments
 (0)