X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=8cd82fbe0b0bc1b20f38876368f0d6348615b1a9;hb=8b7afc421b64df4f4b0dab56a36d6d4cf7335d87;hp=9eb36522004c172b9cfa6d8bb209f45821cb02f5;hpb=9c3459c14912a6e59482407d40a7b626143ebc46;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