projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f63bd
)
Add algorithm header include
author
Hirotoshi YOSHITAKA
<tyounan.moti@gmail.com>
Mon, 6 Oct 2014 14:47:11 +0000
(23:47 +0900)
committer
Hirotoshi YOSHITAKA
<tyounan.moti@gmail.com>
Mon, 6 Oct 2014 14:47:11 +0000
(23:47 +0900)
Without algorithm header, Visual Studio complaints that std::max is not
declared and defined.
Including algorithm header resolves this issue.
RtAudio.cpp
patch
|
blob
|
history
diff --git
a/RtAudio.cpp
b/RtAudio.cpp
index af7d205a1977491c39e76b85affb3fc8dc332807..778cbf248557b879dc8b194c29d756c5e002afb1 100644
(file)
--- a/
RtAudio.cpp
+++ b/
RtAudio.cpp
@@
-45,6
+45,7
@@
#include <cstdlib>
\r
#include <cstring>
\r
#include <climits>
\r
+#include <algorithm>
\r
\r
// Static variable definitions.
\r
const unsigned int RtApi::MAX_SAMPLE_RATES = 14;
\r