paperbox r175 - in trunk: . src
- From: markoa svn gnome org
- To: svn-commits-list gnome org
- Subject: paperbox r175 - in trunk: . src
- Date: Wed, 25 Jun 2008 08:53:34 +0000 (UTC)
Author: markoa
Date: Wed Jun 25 08:53:34 2008
New Revision: 175
URL: http://svn.gnome.org/viewvc/paperbox?rev=175&view=rev
Log:
Use boost::shared_ptr instead of tr1
Modified:
trunk/ChangeLog
trunk/src/tag-cloud-model.cc
trunk/src/tag-cloud-model.hh
Modified: trunk/src/tag-cloud-model.cc
==============================================================================
--- trunk/src/tag-cloud-model.cc (original)
+++ trunk/src/tag-cloud-model.cc Wed Jun 25 08:53:34 2008
@@ -25,7 +25,7 @@
#include "tag-cloud-model.hh"
using std::map;
-using std::tr1::shared_ptr;
+using boost::shared_ptr;
class CloudStats
{
Modified: trunk/src/tag-cloud-model.hh
==============================================================================
--- trunk/src/tag-cloud-model.hh (original)
+++ trunk/src/tag-cloud-model.hh Wed Jun 25 08:53:34 2008
@@ -25,7 +25,7 @@
#define __TAG_CLOUD_MODEL_H__
#include <map>
-#include <tr1/memory>
+#include <boost/shared_ptr.hpp>
#include <glibmm/ustring.h>
#include <sigc++/signal.h>
@@ -44,7 +44,7 @@
class CloudStats;
struct TagData;
-typedef std::map<Glib::ustring, std::tr1::shared_ptr<TagData>, lt_ustring>
+typedef std::map<Glib::ustring, boost::shared_ptr<TagData>, lt_ustring>
tag_map;
class TagCloudModel : public sigc::trackable
@@ -76,7 +76,7 @@
int min_font_size_;
int max_font_size_;
- std::tr1::shared_ptr<CloudStats> stats_;
+ boost::shared_ptr<CloudStats> stats_;
tag_map tags_;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]