summaryrefslogtreecommitdiff
path: root/glib/glibmm/timer.h
diff options
context:
space:
mode:
authorMarcin Kolny <marcin.kolny@gmail.com>2015-08-08 14:45:12 +0200
committerMarcin Kolny <marcin.kolny@gmail.com>2015-08-08 14:45:59 +0200
commit0d5f63b18f5766760cf39e82ee11482984e0a938 (patch)
treee3f74b9b37e7618c92840024077dff43e6d08f0d /glib/glibmm/timer.h
parentdce7a844e48a582e42eb2b60eef5c1f2527540ac (diff)
parentd94115843f38967b5e883f5f7d8057882ae364cb (diff)
downloadglibmm-gir-gmmproc.tar.gz
Merge branch 'master' into glibmm-gir-gmmprocglibmm-gir-gmmproc
Diffstat (limited to 'glib/glibmm/timer.h')
-rw-r--r--glib/glibmm/timer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/glibmm/timer.h b/glib/glibmm/timer.h
index 4864e68b..2c68d3a7 100644
--- a/glib/glibmm/timer.h
+++ b/glib/glibmm/timer.h
@@ -41,6 +41,10 @@ public:
Timer();
~Timer();
+ // not copyable
+ Timer(const Timer&) = delete;
+ Timer& operator=(const Timer&) = delete;
+
void start();
void stop();
void reset();
@@ -63,10 +67,6 @@ public:
private:
GTimer* gobject_;
-
- // not copyable
- Timer(const Timer&);
- Timer& operator=(const Timer&);
};