summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-system-monitor/files/patch-fix_with_gcc34
blob: 17e0c12ee445d585787ddc0b7a0bb8db44b2b3eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: src/defaulttable.h
===================================================================
--- src/defaulttable.h  (révision 2062)
+++ src/defaulttable.h  (copie de travail)
@@ -2,18 +2,17 @@
 #define _PROCMAN_DEFAULTTABLE_H_
 
 #include <string>
-#include <tr1/memory>
 #include "regex.h"
 
 /* This file contains prettynames and icons for well-known applications, that by default has no .desktop entry */
 
 struct PrettyTableItem
 {
-  std::tr1::shared_ptr<pcrecpp::RE> command;
+  pcrecpp::RE* command;
   std::string icon;
 };
 
-#define ITEM(CMD, ICON) { std::tr1::shared_ptr<pcrecpp::RE>(new pcrecpp::RE((CMD))), (ICON) }
+#define ITEM(CMD, ICON) { new pcrecpp::RE((CMD)), (ICON) }
 
 /* The current table is only a test */
 static const PrettyTableItem default_table[] = {