Fix indentation with clang-format 8
AppVeyor automatically updated to LLVM 8 while everything else was on 7. It is not possible to downgrade to LLVM 7 on AppVeyor, so we'll update everything else to LLVM 8.
This commit is contained in:
@@ -32,8 +32,8 @@ void initializeProperly( const OpenVrInitializationType initType )
|
||||
}
|
||||
LOG( ERROR ) << "Failed to initialize OpenVR: "
|
||||
+ std::string(
|
||||
vr::VR_GetVRInitErrorAsEnglishDescription(
|
||||
initError ) );
|
||||
vr::VR_GetVRInitErrorAsEnglishDescription(
|
||||
initError ) );
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
else
|
||||
|
||||
@@ -338,7 +338,7 @@ void OverlayController::SetWidget( QQuickItem* quickItem,
|
||||
throw std::runtime_error( std::string(
|
||||
"Failed to create Overlay: "
|
||||
+ std::string( vr::VROverlay()->GetOverlayErrorNameFromEnum(
|
||||
overlayError ) ) ) );
|
||||
overlayError ) ) ) );
|
||||
}
|
||||
vr::VROverlay()->SetOverlayWidthInMeters( m_ulOverlayHandle, 2.5f );
|
||||
vr::VROverlay()->SetOverlayInputMethod(
|
||||
@@ -446,7 +446,7 @@ void OverlayController::renderOverlay()
|
||||
if ( !vr::VROverlay()
|
||||
|| ( !vr::VROverlay()->IsOverlayVisible( m_ulOverlayHandle )
|
||||
&& !vr::VROverlay()->IsOverlayVisible(
|
||||
m_ulOverlayThumbnailHandle ) ) )
|
||||
m_ulOverlayThumbnailHandle ) ) )
|
||||
return;
|
||||
m_pRenderControl->polishItems();
|
||||
m_pRenderControl->sync();
|
||||
|
||||
@@ -337,8 +337,8 @@ void UtilitiesTabController::eventLoopTick()
|
||||
parent->setAlarmEnabled( true );
|
||||
}
|
||||
else if (
|
||||
res
|
||||
>= vr::VRMessageOverlayResponse_CouldntFindSystemOverlay )
|
||||
res >= vr::
|
||||
VRMessageOverlayResponse_CouldntFindSystemOverlay )
|
||||
{
|
||||
static const char* errorMessages[]
|
||||
= { "CouldntFindSystemOverlay",
|
||||
@@ -346,7 +346,8 @@ void UtilitiesTabController::eventLoopTick()
|
||||
"ApplicationQuit" };
|
||||
int errorCode
|
||||
= res
|
||||
- vr::VRMessageOverlayResponse_CouldntFindSystemOverlay;
|
||||
- vr::
|
||||
VRMessageOverlayResponse_CouldntFindSystemOverlay;
|
||||
if ( res < 3 )
|
||||
{
|
||||
LOG( ERROR )
|
||||
|
||||
+6
-6
@@ -107,8 +107,8 @@ void enableApplicationAutostart()
|
||||
throw std::runtime_error(
|
||||
std::string( "Could not set auto start: " )
|
||||
+ std::string(
|
||||
vr::VRApplications()->GetApplicationsErrorNameFromEnum(
|
||||
app_error ) ) );
|
||||
vr::VRApplications()->GetApplicationsErrorNameFromEnum(
|
||||
app_error ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,8 +124,8 @@ void installApplicationManifest( const std::string manifestPath )
|
||||
throw std::runtime_error(
|
||||
std::string( "Could not add application manifest: " )
|
||||
+ std::string(
|
||||
vr::VRApplications()->GetApplicationsErrorNameFromEnum(
|
||||
app_error ) ) );
|
||||
vr::VRApplications()->GetApplicationsErrorNameFromEnum(
|
||||
app_error ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,8 +163,8 @@ void reinstallApplicationManifest( const std::string manifestPath )
|
||||
"Could not find working directory of already "
|
||||
"installed application: "
|
||||
+ std::string(
|
||||
vr::VRApplications()->GetApplicationsErrorNameFromEnum(
|
||||
app_error ) ) );
|
||||
vr::VRApplications()->GetApplicationsErrorNameFromEnum(
|
||||
app_error ) ) );
|
||||
}
|
||||
|
||||
const auto oldManifestPath
|
||||
|
||||
Reference in New Issue
Block a user