changed from pointer to referens in slitmenu constructor
fluxgen fluxgen
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/Slit.hh
→
src/Slit.hh
@@ -38,7 +38,7 @@ #include <list>
class Slitmenu : public Basemenu { public: - explicit Slitmenu(Slit *); + explicit Slitmenu(Slit &theslist); virtual ~Slitmenu(void); inline Basemenu *getDirectionmenu(void) { return directionmenu; }@@ -90,7 +90,7 @@ Placementmenu *placementmenu;
#ifdef XINERAMA Headmenu *headmenu; #endif // XINERAMA - Slit *slit; + Slit &slit; friend class Directionmenu; friend class Placementmenu;