X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=9eb36522004c172b9cfa6d8bb209f45821cb02f5;hb=717494b62328ff331365d7d9df78d93388b55a72;hp=51258e66fc3abd5c418dfc480bdba43debd32442;hpb=0451c66d4a069d04db99c9d719e053c6019923d8;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 51258e6..9eb3652 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -38,7 +38,7 @@ #if defined(unix) || defined(__APPLE__) # include # include -#elif defined(WIN32) +#elif defined(_WIN32) # include #endif @@ -227,6 +227,13 @@ namespace clitk { //-------------------------------------------------------------------- void PrintMemoryUsed(); + //-------------------------------------------------------------------- + // Convert a map to a vector + template + void MapToVecFirst(const M & m, V & v); + template + void MapToVecSecond(const M & m, V & v); + #include "clitkCommon.txx" } // end namespace