X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=d7cd4606d4183fe69f36ad4d6d76b69723faa651;hb=acf9fd7183acced5023f5a81bdd7ead741c0188c;hp=b58974a3e721c486e6ff164f7ff2f18d25a25673;hpb=8272e1ef65c98178771f62768ced173d09e40e33;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index b58974a..d7cd460 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -69,6 +69,9 @@ namespace clitk { exit(-3); \ } +#ifndef ITK_OVERRIDE +# define ITK_OVERRIDE +#endif //-------------------------------------------------------------------- // when everything goes wrong @@ -117,6 +120,8 @@ namespace clitk { TPixelDown PixelTypeDownCast(const TPixelUp & x); template<> float PixelTypeDownCast(const double & x); + template<> + double PixelTypeDownCast(const double & x); //-------------------------------------------------------------------- // Return the indexes of sorted values in a vector