-rw-r--r-- | agg-plot/lua-plot-cpp.h | 4 | ||||
-rw-r--r-- | agg-plot/lua-plot.cpp | 2 |
diff --git a/agg-plot/lua-plot-cpp.h b/agg-plot/lua-plot-cpp.h index a9cfb45a..1c3f52c0 100644 --- a/agg-plot/lua-plot-cpp.h +++ b/agg-plot/lua-plot-cpp.h @@ -19,7 +19,7 @@ private: plot_type m_plot; public: - lua_plot() : m_plot(), window_id(-1), id(-1) { }; + lua_plot() : m_plot(), window_id(-1) { }; void update_window(lua_State *L); @@ -29,8 +29,6 @@ public: int window_id; int slot_id; - - int id; }; #endif diff --git a/agg-plot/lua-plot.cpp b/agg-plot/lua-plot.cpp index cdde089c..0f28020b 100644 --- a/agg-plot/lua-plot.cpp +++ b/agg-plot/lua-plot.cpp @@ -124,8 +124,6 @@ plot_new (lua_State *L) p->self().set_title(title); } - p->id = object_index_add (L, OBJECT_PLOT, -1); - return 1; } |