Android: Code cosmetics

Remove unused functions, inline rarely-used code, ...

Change-Id: Ib3b0645cebf6bfabea1f4f2b4c5a582afca18101
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
hjk
2019-01-18 18:07:54 +01:00
parent e9ba3e1b7c
commit 90e31668d6
6 changed files with 19 additions and 42 deletions

View File

@@ -38,19 +38,6 @@ namespace Android {
class AndroidGlobal
{
public:
template<class T> static T *buildStep(const ProjectExplorer::BuildConfiguration *dc)
{
if (!dc)
return nullptr;
foreach (const Core::Id &id, dc->knownStepLists()) {
T *const step = dc->stepList(id)->firstOfType<T>();
if (step)
return step;
}
return nullptr;
}
template<typename State> static void assertState(State expected,
State actual, const char *func)
{