Skip to content

Commit

Permalink
Fix clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
errollgarner committed Jan 8, 2024
1 parent fd4cc5f commit 05f04b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions IbisHardwareIGSIO/ibishardwareIGSIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,9 @@ bool IbisHardwareIGSIO::LaunchLocalServer( QString plusConfigFile )
if( plusServerExec.isNull() || plusServerExec.isEmpty() )
{
QString message;
message = QString( "PlusServer executable path not defined.\n"
"Go to Settings/Preferences and set PlusServer executable." );
message = QString(
"PlusServer executable path not defined.\n"
"Go to Settings/Preferences and set PlusServer executable." );
QMessageBox::warning( nullptr, "Error", message );
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion IbisVTK/vtkExtensions/vtkGenericParam.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class vtkGenericParamInterface
{
for( unsigned i = 0; i < m_params.size(); ++i ) m_params[i]->Delete();
}
unsigned int GetNumberOfParams() { return (unsigned int)(m_params.size()); }
unsigned int GetNumberOfParams() { return static_cast<unsigned int>( m_params.size() ); }
vtkGenericParam * GetParam( int index ) { return m_params[index]; }
vtkGenericParam * GetParam( const char * name )
{
Expand Down
4 changes: 2 additions & 2 deletions IbisVTK/vtkExtensions/vtkMultiImagePlaneWidget.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1117,8 +1117,8 @@ void vtkMultiImagePlaneWidget::PlaceWidget()
this->Placed = 1;
}

size_t vtkMultiImagePlaneWidget::AddInput( vtkImageData * in, vtkScalarsToColors * lut,
vtkTransform * t, bool canInterpolate )
size_t vtkMultiImagePlaneWidget::AddInput( vtkImageData * in, vtkScalarsToColors * lut, vtkTransform * t,
bool canInterpolate )
{
PerVolumeObjects inObjects;
inObjects.ImageData = in;
Expand Down

0 comments on commit 05f04b7

Please sign in to comment.