1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-26 20:28:50 -05:00

fix compiler warnings on macos

This commit is contained in:
epezent 2020-09-07 21:30:57 -05:00
parent 700a7bab56
commit c0409ff4ff
2 changed files with 2 additions and 2 deletions

View File

@ -1633,7 +1633,7 @@ bool BeginPlot(const char* title, const char* x_label, const char* y_label, cons
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
template <typename F> template <typename F>
bool DragFloat(const char* label, F* v, float v_speed, F v_min, F v_max) { bool DragFloat(const char*, F*, float, F, F) {
return false; return false;
} }

View File

@ -150,8 +150,8 @@ template <int N>
struct ImPlotPointArray { struct ImPlotPointArray {
inline ImPlotPoint& operator[](int i) { return Data[i]; } inline ImPlotPoint& operator[](int i) { return Data[i]; }
inline const ImPlotPoint& operator[](int i) const { return Data[i]; } inline const ImPlotPoint& operator[](int i) const { return Data[i]; }
inline int Size() { return N; }
ImPlotPoint Data[N]; ImPlotPoint Data[N];
const int Size = N;
}; };
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------