X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=8cd82fbe0b0bc1b20f38876368f0d6348615b1a9;hb=d7f456d86ca398a89ccf9de43ab68a2b50b8ca1f;hp=9eb36522004c172b9cfa6d8bb209f45821cb02f5;hpb=957a4c21ae6aa291c6ad57a45e35c14f5c5d05bb;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 9eb3652..8cd82fb 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -40,6 +40,7 @@ # include #elif defined(_WIN32) # include +# include #endif //-------------------------------------------------------------------- @@ -234,6 +235,11 @@ namespace clitk { template void MapToVecSecond(const M & m, V & v); + //-------------------------------------------------------------------- + // Find/replace string + template + int inline findAndReplace(T& source, const T& find, const T& replace); + #include "clitkCommon.txx" } // end namespace