forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user