Commit 54d746f7 authored by Cédric Traizet's avatar Cédric Traizet

ENH: inherits constructors instead of redefining them

parent 28a788e3
......@@ -40,21 +40,7 @@ public:
itkTypeMacro(MissingMetadataException, itk::ExceptionObject);
/** Constructor. */
MissingMetadataException(const char* file, unsigned int line, const char* message = "Missing metadata", const char* loc = "Unknown")
: itk::ExceptionObject(file, line, message, loc)
{
}
/** Constructor. */
MissingMetadataException(const std::string& file, unsigned int line, const char* message = "Missing metadata", const char* loc = "Unknown")
: itk::ExceptionObject(file, line, message, loc)
{
}
MissingMetadataException(const std::string& file, unsigned int line, const std::string& message = "Missing metadata", const char* loc = "Unknown")
: itk::ExceptionObject(file, line, message, loc)
{
}
using itk::ExceptionObject::ExceptionObject;
};
/** \class MetadataSupplierInterface
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment