Browse files

OSX: Cross compilation fixes for mythmusic.

Signed-off-by: Mark Kendall <mkendall@mythtv.org>
(cherry picked from commit 3860dd2)
  • Loading branch information...
1 parent f525415 commit df16df93d3bff56405c7f4378cd7bf98af52a366 Lawrence Rust committed with Mark Kendall Mar 16, 2011
Showing with 6 additions and 6 deletions.
  1. +1 −0 mythplugins/mythmusic/mythmusic/cddecoder.h
  2. +5 −6 mythplugins/mythmusic/mythmusic/visualize.h
View
1 mythplugins/mythmusic/mythmusic/cddecoder.h
@@ -7,6 +7,7 @@
#if CONFIG_DARWIN
#include <vector>
+using std::vector;
#endif
#if defined(__linux__) || defined(__FreeBSD__)
View
11 mythplugins/mythmusic/mythmusic/visualize.h
@@ -13,8 +13,7 @@
#define VISUALIZE_H
// C++ headers
-#include <vector>
-using namespace std;
+#include <QVector>
// MythTV headers
#include <visual.h>
@@ -66,8 +65,8 @@ class Spectrum : public VisualBase
inline double clamp(double cur, double max, double min);
QColor startColor, targetColor;
- vector<QRect> rects;
- vector<double> magnitudes;
+ QVector<QRect> rects;
+ QVector<double> magnitudes;
QSize size;
LogScale scale;
double scaleFactor, falloff;
@@ -161,8 +160,8 @@ class Gears : public QGLWidget, public VisualBase
private:
QColor startColor, targetColor;
- vector<QRect> rects;
- vector<double> magnitudes;
+ QVector<QRect> rects;
+ QVector<double> magnitudes;
QSize size;
LogScale scale;
double scaleFactor, falloff;

0 comments on commit df16df9

Please sign in to comment.