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
9e5c5567
Commit
9e5c5567
authored
Jan 06, 2021
by
Davis King
Browse files
Fix build errors in gcc 4.8
parent
39eec294
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
dlib/test/fft.cpp
dlib/test/fft.cpp
+1
-2
dlib/test/fftr_good_data.h
dlib/test/fftr_good_data.h
+2
-2
No files found.
dlib/test/fft.cpp
View file @
9e5c5567
...
@@ -89,11 +89,10 @@ namespace
...
@@ -89,11 +89,10 @@ namespace
void
test_against_saved_good_fftrs
()
void
test_against_saved_good_fftrs
()
{
{
std
::
stringstream
base64_in
,
decompressed_in
,
decompressed_out
;
std
::
stringstream
base64_in
(
get_fftr_stringstream
())
,
decompressed_in
,
decompressed_out
;
dlib
::
base64
base64_coder
;
dlib
::
base64
base64_coder
;
dlib
::
compress_stream
::
kernel_1ea
compressor
;
dlib
::
compress_stream
::
kernel_1ea
compressor
;
base64_in
=
get_fftr_stringstream
();
base64_coder
.
decode
(
base64_in
,
decompressed_in
);
base64_coder
.
decode
(
base64_in
,
decompressed_in
);
compressor
.
decompress
(
decompressed_in
,
decompressed_out
);
compressor
.
decompress
(
decompressed_in
,
decompressed_out
);
...
...
dlib/test/fftr_good_data.h
View file @
9e5c5567
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#include <sstream>
#include <sstream>
inline
std
::
string
stream
get_fftr_stringstream
()
inline
std
::
string
get_fftr_stringstream
()
{
{
std
::
stringstream
ss
;
std
::
stringstream
ss
;
ss
<<
"gREgHkVPSRDT5z8rk175NS624DOfWDQcPg2MOBWP6zKp5jxHZcD2U1VxamzdjaOSqfLISuO5XxmI"
;
ss
<<
"gREgHkVPSRDT5z8rk175NS624DOfWDQcPg2MOBWP6zKp5jxHZcD2U1VxamzdjaOSqfLISuO5XxmI"
;
...
@@ -3037,7 +3037,7 @@ inline std::stringstream get_fftr_stringstream()
...
@@ -3037,7 +3037,7 @@ inline std::stringstream get_fftr_stringstream()
ss
<<
"7JaHbCjsyBzkKxy4v6APayQluxVwujyu6ln+IUmGUzRs2mUgaYziWzuGopQ/bwqfzpjh4qPNLgms"
;
ss
<<
"7JaHbCjsyBzkKxy4v6APayQluxVwujyu6ln+IUmGUzRs2mUgaYziWzuGopQ/bwqfzpjh4qPNLgms"
;
ss
<<
"bb2qcmOPSNthd0G/u1cEMK4knOauP0VYpl3yIJNQaVVflh1tkTTYSzHWmEOTyrrT3Yc4v2S1lD10"
;
ss
<<
"bb2qcmOPSNthd0G/u1cEMK4knOauP0VYpl3yIJNQaVVflh1tkTTYSzHWmEOTyrrT3Yc4v2S1lD10"
;
ss
<<
"dzewCaAafqZ1K1RJ7khOyQ6bGAvAXLGrDBYIuI2mIw6h2+PnD6rpT7IpcVkSHzB6Wa/ltwA="
;
ss
<<
"dzewCaAafqZ1K1RJ7khOyQ6bGAvAXLGrDBYIuI2mIw6h2+PnD6rpT7IpcVkSHzB6Wa/ltwA="
;
return
ss
;
return
ss
.
str
()
;
}
}
#endif
/* FFTR_GOOD_DATA_H */
#endif
/* FFTR_GOOD_DATA_H */
...
...
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