[gnome-system-monitor] Make LoadGraph non-copyable.
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Make LoadGraph non-copyable.
- Date: Sat, 3 Jan 2015 14:00:05 +0000 (UTC)
commit 44782d04e0848f0cf5414459450969177f99f89b
Author: BenoƮt Dejean <bdejean gmail com>
Date: Wed Apr 23 12:32:04 2014 +0200
Make LoadGraph non-copyable.
https://bugzilla.gnome.org/show_bug.cgi?id=742070
src/load-graph.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/load-graph.h b/src/load-graph.h
index 7d09f33..c726945 100644
--- a/src/load-graph.h
+++ b/src/load-graph.h
@@ -5,6 +5,8 @@
#include <glib.h>
#include <glibtop/cpu.h>
+#include "util.h"
+
enum
{
LOAD_GRAPH_CPU,
@@ -31,6 +33,7 @@ struct LoadGraphLabels
};
struct LoadGraph
+ : private procman::NonCopyable
{
static const unsigned NUM_POINTS = 60 + 2;
static const unsigned GRAPH_MIN_HEIGHT = 40;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]