Skip to content
Snippets Groups Projects
Commit 54d746f7 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

ENH: inherits constructors instead of redefining them

parent 28a788e3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment