Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
dc1cafe8
Commit
dc1cafe8
authored
May 28, 2011
by
Davis King
Browse files
Fixed compile time test
parent
d3a73bdb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/image_saver/save_png.h
dlib/image_saver/save_png.h
+1
-1
No files found.
dlib/image_saver/save_png.h
View file @
dc1cafe8
...
@@ -52,7 +52,7 @@ namespace dlib
...
@@ -52,7 +52,7 @@ namespace dlib
this function. You must also make sure you set your build environment
this function. You must also make sure you set your build environment
to link against the libpng library.
to link against the libpng library.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
COMPILE_TIME_ASSERT
(
sizeof
(
T
)
==
0
);
COMPILE_TIME_ASSERT
(
sizeof
(
image_type
)
==
0
);
#else
#else
std
::
vector
<
png_byte
*>
row_pointers
(
img
.
nr
());
std
::
vector
<
png_byte
*>
row_pointers
(
img
.
nr
());
FILE
*
fp
;
FILE
*
fp
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment