mirror of
https://github.com/gwm17/implot.git
synced 2024-11-26 12:18:52 -05:00
fix compiler warnings on macos
This commit is contained in:
parent
700a7bab56
commit
c0409ff4ff
|
@ -1633,7 +1633,7 @@ bool BeginPlot(const char* title, const char* x_label, const char* y_label, cons
|
|||
//-----------------------------------------------------------------------------
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -150,8 +150,8 @@ template <int N>
|
|||
struct ImPlotPointArray {
|
||||
inline ImPlotPoint& operator[](int i) { return Data[i]; }
|
||||
inline const ImPlotPoint& operator[](int i) const { return Data[i]; }
|
||||
inline int Size() { return N; }
|
||||
ImPlotPoint Data[N];
|
||||
const int Size = N;
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user