Re: Problem in creating a time_keeping application

2022-05-22 Thread Kjell Ahlstedt via gtkmm-list
Glib::Timer is not copyable. If your Time_Keeper class must be copyable, I'd suggest that you let it store a std::shared_ptr instead of a Glib::Timer. Den 2022-05-22 kl. 01:20, skrev jeferson lemos via gtkmm-list: I am having problems with as to Glib::Timer seems to be no copyable on the code

Problem in creating a time_keeping application

2022-05-21 Thread jeferson lemos via gtkmm-list
I am having problems with as to Glib::Timer seems to be no copyable on the code bellow #ifndef _TIME_KEEPER_H_ #define _TIME_KEEPER_H_ #include #include class Time_Keeper { public: void start_timer(){ /*timer.start();*/ }; void stop_timer(){ /*timer.stop();*/ }; void reset_timer(){ /*timer.re