comparison UnitTestsSources/ImageToolboxTests.cpp @ 1296:86400fa16091

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 23 Feb 2020 15:25:49 +0100
parents ddb6676bbcbf
children 8a0a62189f46
comparison
equal deleted inserted replaced
1293:f050391249f0 1296:86400fa16091
134 size_t pixCounter = 0; 134 size_t pixCounter = 0;
135 135
136 std::auto_ptr<Orthanc::Image> image(new Orthanc::Image( 136 std::auto_ptr<Orthanc::Image> image(new Orthanc::Image(
137 Format, W, H, false)); 137 Format, W, H, false));
138 138
139 typedef Orthanc::PixelTraits<Format>::PixelType PixelType; 139 typedef typename Orthanc::PixelTraits<Format>::PixelType PixelType;
140 140
141 PixelType pixValue = 0; 141 PixelType pixValue = 0;
142 142
143 for (unsigned int y = 0; y < H; ++y) 143 for (unsigned int y = 0; y < H; ++y)
144 { 144 {
204 size_t pixCounter = 0; 204 size_t pixCounter = 0;
205 205
206 std::auto_ptr<Orthanc::Image> image(new Orthanc::Image( 206 std::auto_ptr<Orthanc::Image> image(new Orthanc::Image(
207 Format, W, H, false)); 207 Format, W, H, false));
208 208
209 typedef Orthanc::PixelTraits<Format>::PixelType PixelType; 209 typedef typename Orthanc::PixelTraits<Format>::PixelType PixelType;
210 210
211 PixelType pixValue = 0; 211 PixelType pixValue = 0;
212 212
213 for (unsigned int y = 0; y < H; ++y) 213 for (unsigned int y = 0; y < H; ++y)
214 { 214 {