Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMake/ITK_CheckCCompilerFlag.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ include(CheckCSourceCompiles)
macro (ITK_CHECK_C_COMPILER_FLAG _FLAG _RESULT)
set(SAFE_CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS}")
set(CMAKE_REQUIRED_DEFINITIONS "${_FLAG}")
CHECK_C_SOURCE_COMPILES("int main(void) { return 0; }" ${_RESULT}
CHECK_C_SOURCE_COMPILES("int main() { return 0; }" ${_RESULT}
# Some compilers do not fail with a bad flag
FAIL_REGEX "warning: command line option .* is valid for .* but not for C"
# Apple gcc
Expand Down
2 changes: 1 addition & 1 deletion SoftwareGuide/Cover/Source/ModelBasedSegmentation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class SimpleImageToSpatialObjectMetric :
std::cout << "Number of points in the metric = " << static_cast<unsigned long>( m_PointList.size() ) << std::endl;
}

unsigned int GetNumberOfParameters(void) const {return SpaceDimension;};
unsigned int GetNumberOfParameters() const {return SpaceDimension;};

/** Get the Derivatives of the Match Measure */
void GetDerivative( const ParametersType &,
Expand Down
4 changes: 2 additions & 2 deletions SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3142,7 +3142,7 @@ \section{Using Standard Macros}

Some of the more important object macros are:
\begin{itemize}
\item \code{itkNewMacro(T)}: Creates the static class method \code{New(void)}
\item \code{itkNewMacro(T)}: Creates the static class method \code{New()}
that interacts with the object factory to instantiate objects. The method
returns a \code{SmartPointer<T>} properly reference counted.
\item \code{itkTypeMacro(thisClass, superclass)}: Adds standard methods a
Expand Down Expand Up @@ -3252,7 +3252,7 @@ \section{Exception Handling}
\small
\begin{minted}[baselinestretch=1,fontsize=\footnotesize,linenos=false,bgcolor=ltgray]{cpp}
/** Initialize the components related to supporting multiple threads. */
virtual void MultiThreadingInitialize(void) throw (ExceptionObject);
virtual void MultiThreadingInitialize() throw (ExceptionObject);
\end{minted}
\normalsize

Expand Down