Browse Source

Add algorithm header include

Without algorithm header, Visual Studio complaints that std::max is not
declared and defined.
Including algorithm header resolves this issue.
tags/4.1.2
Hirotoshi YOSHITAKA 10 years ago
parent
commit
d0e2d3a608
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      RtAudio.cpp

+ 1
- 0
RtAudio.cpp View File

@@ -45,6 +45,7 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <climits> #include <climits>
#include <algorithm>
// Static variable definitions. // Static variable definitions.
const unsigned int RtApi::MAX_SAMPLE_RATES = 14; const unsigned int RtApi::MAX_SAMPLE_RATES = 14;


Loading…
Cancel
Save