aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnusha Gugale <external.agogale@jp.adit-jv.com>2021-01-21 09:08:43 +0530
committerMarius Vlad <marius.vlad@collabora.com>2021-01-26 10:59:19 +0000
commit47386558dbc95387f9062651774d9b2e1bb8bc6b (patch)
tree5628bf48b6937eed54fd969c2656963b76c5d92d
parent79bc7999332d55b724056a85264fb5241849606d (diff)
Use parameterized constructor of RBAArbitratorkoi_10.93.0koi/10.93.010.93.0
- To hide unnecessary internal interfaces from user, reconstructed public files of librba. At this time, default constructor has been removed. Bug-AGL: SPEC-3738 Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com> Change-Id: I957796861081c79df9018cac92bd06927952924d
-rw-r--r--src/rba_adapter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rba_adapter.cpp b/src/rba_adapter.cpp
index 120d032..0583f92 100644
--- a/src/rba_adapter.cpp
+++ b/src/rba_adapter.cpp
@@ -52,12 +52,11 @@ bool rba_adapter_initialize(void)
weston_log("RBAmodel is NULL\n");
return false;
}
- arb = new rba::RBAArbitrator();
+ arb = new rba::RBAArbitrator(model);
if (arb == nullptr) {
weston_log("RBAArbitrator is NULL\n");
return false;
}
- arb->setModel(model);
return true;
}
weston_log("RBAArbitrator model is already created\n");