X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FTestWriteSimple.cxx;h=0c03379cdca49e303c9f935e82eb8683490ace17;hb=93b600547ab55d2b7b3903c561a06d191d7764d9;hp=379658695c0300789dffb6a0bc666b4c86f05d77;hpb=692f863c018c259a380e664d3608a46ec0c8bb3e;p=gdcm.git diff --git a/Example/TestWriteSimple.cxx b/Example/TestWriteSimple.cxx index 37965869..0c03379c 100644 --- a/Example/TestWriteSimple.cxx +++ b/Example/TestWriteSimple.cxx @@ -13,8 +13,8 @@ int main(int argc, char* argv[]) std::string header = argv[1]; const char *output = argv[2]; - gdcmHeader *f1 = new gdcmHeader( header ); - gdcmFile *f2 = new gdcmFile( f1 ); + gdcm::Header *f1 = new gdcm::Header( header ); + gdcm::File *f2 = new gdcm::File( f1 ); // If the following call is important, then the API sucks. Why is it // required to allocate PixelData when we are not using it !?