+ replace <boost/shared_ptr.hpp> with <memory>

This commit is contained in:
artemp 2013-09-20 14:13:23 +01:00
parent b315eb2167
commit 62af2e6765
53 changed files with 54 additions and 54 deletions

View file

@ -16,7 +16,7 @@
// boost // boost
#include <boost/version.hpp> #include <boost/version.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
#include <boost/bind.hpp> #include <boost/bind.hpp>

View file

@ -23,7 +23,7 @@
// boost // boost
#include <boost/python.hpp> #include <boost/python.hpp>
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/ptr_container/ptr_vector.hpp> #include <boost/ptr_container/ptr_vector.hpp>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
// mapnik // mapnik

View file

@ -17,7 +17,7 @@
#include <vector> #include <vector>
#include <boost/concept_check.hpp> #include <boost/concept_check.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/geometry/algorithms/area.hpp> #include <boost/geometry/algorithms/area.hpp>

View file

@ -16,7 +16,7 @@
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/geometry/algorithms/area.hpp> #include <boost/geometry/algorithms/area.hpp>
#include <boost/geometry/algorithms/assign.hpp> #include <boost/geometry/algorithms/assign.hpp>

View file

@ -16,7 +16,7 @@
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/geometry/algorithms/area.hpp> #include <boost/geometry/algorithms/area.hpp>
#include <boost/geometry/algorithms/assign.hpp> #include <boost/geometry/algorithms/assign.hpp>

View file

@ -28,7 +28,7 @@
#include <QItemSelection> #include <QItemSelection>
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
#ifndef Q_MOC_RUN #ifndef Q_MOC_RUN

View file

@ -38,7 +38,7 @@
// boost // boost
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// fwd declaration to avoid depedence on agg headers // fwd declaration to avoid depedence on agg headers
namespace agg { struct trans_affine; } namespace agg { struct trans_affine; }

View file

@ -37,7 +37,7 @@
#include <mapnik/noncopyable.hpp> #include <mapnik/noncopyable.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
// cairo // cairo
#include <cairo.h> #include <cairo.h>

View file

@ -23,7 +23,7 @@
#ifndef MAPNIK_CHAR_INFO_HPP #ifndef MAPNIK_CHAR_INFO_HPP
#define MAPNIK_CHAR_INFO_HPP #define MAPNIK_CHAR_INFO_HPP
#include <boost/shared_ptr.hpp> #include <memory>
namespace mapnik { namespace mapnik {
struct char_properties; struct char_properties;

View file

@ -32,7 +32,7 @@
#include <mapnik/noncopyable.hpp> #include <mapnik/noncopyable.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/optional.hpp> #include <boost/optional.hpp>
// stl // stl

View file

@ -30,7 +30,7 @@
#include <mapnik/noncopyable.hpp> #include <mapnik/noncopyable.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <map> #include <map>

View file

@ -28,7 +28,7 @@
#include <mapnik/expression_node_types.hpp> #include <mapnik/expression_node_types.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <string> #include <string>

View file

@ -28,7 +28,7 @@
#include <mapnik/expression_node_types.hpp> #include <mapnik/expression_node_types.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <string> #include <string>

View file

@ -33,7 +33,7 @@
#include <mapnik/noncopyable.hpp> #include <mapnik/noncopyable.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/ptr_container/ptr_vector.hpp> #include <boost/ptr_container/ptr_vector.hpp>
// stl // stl

View file

@ -39,7 +39,7 @@
#include <mapnik/pixel_position.hpp> #include <mapnik/pixel_position.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
#include <boost/ptr_container/ptr_vector.hpp> #include <boost/ptr_container/ptr_vector.hpp>

View file

@ -29,7 +29,7 @@
#include <mapnik/noncopyable.hpp> #include <mapnik/noncopyable.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/ptr_container/ptr_vector.hpp> #include <boost/ptr_container/ptr_vector.hpp>
namespace mapnik { namespace mapnik {

View file

@ -38,7 +38,7 @@
// boost // boost
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// fwd declaration to avoid depedence on agg headers // fwd declaration to avoid depedence on agg headers
namespace agg { struct trans_affine; } namespace agg { struct trans_affine; }

View file

@ -30,7 +30,7 @@
// boost // boost
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/interprocess/interprocess_fwd.hpp> #include <boost/interprocess/interprocess_fwd.hpp>

View file

@ -36,7 +36,7 @@
// boost // boost
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>

View file

@ -30,7 +30,7 @@
// boost // boost
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/optional.hpp> #include <boost/optional.hpp>
namespace mapnik namespace mapnik

View file

@ -25,7 +25,7 @@
// boost // boost
#include <boost/variant/variant_fwd.hpp> #include <boost/variant/variant_fwd.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <string> #include <string>

View file

@ -29,7 +29,7 @@
#include <mapnik/noncopyable.hpp> #include <mapnik/noncopyable.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#ifdef MAPNIK_THREADSAFE #ifdef MAPNIK_THREADSAFE
#include <boost/thread/mutex.hpp> #include <boost/thread/mutex.hpp>
#endif #endif

View file

@ -43,7 +43,7 @@
#include <mapnik/enumeration.hpp> #include <mapnik/enumeration.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <vector> #include <vector>

View file

@ -30,7 +30,7 @@
// boost // boost
#include <boost/iterator/iterator_adaptor.hpp> #include <boost/iterator/iterator_adaptor.hpp>
#include <boost/tuple/tuple.hpp> #include <boost/tuple/tuple.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
namespace mapnik { namespace mapnik {

View file

@ -41,7 +41,7 @@
// boost // boost
#include <boost/variant/static_visitor.hpp> #include <boost/variant/static_visitor.hpp>
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <string> #include <string>

View file

@ -30,7 +30,7 @@
#include <mapnik/simplify.hpp> #include <mapnik/simplify.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <vector> #include <vector>

View file

@ -33,7 +33,7 @@
#include <vector> #include <vector>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
namespace mapnik namespace mapnik
{ {

View file

@ -31,7 +31,7 @@
#include <mapnik/text_placements/dummy.hpp> #include <mapnik/text_placements/dummy.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
// stl // stl

View file

@ -28,7 +28,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/variant/variant.hpp> #include <boost/variant/variant.hpp>
// fusion // fusion

View file

@ -35,7 +35,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/geometry/geometries/box.hpp> #include <boost/geometry/geometries/box.hpp>
#include <boost/geometry/geometries/point_xy.hpp> #include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/algorithms/area.hpp> #include <boost/geometry/algorithms/area.hpp>

View file

@ -35,7 +35,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <vector> #include <vector>

View file

@ -31,7 +31,7 @@
// boost // boost
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// oci // oci
#include "occi_types.hpp" #include "occi_types.hpp"

View file

@ -34,7 +34,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <vector> #include <vector>

View file

@ -34,7 +34,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <vector> #include <vector>

View file

@ -30,7 +30,7 @@
#include <mapnik/utils.hpp> #include <mapnik/utils.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
#include <boost/optional.hpp> #include <boost/optional.hpp>

View file

@ -36,7 +36,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
// stl // stl

View file

@ -34,7 +34,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <vector> #include <vector>

View file

@ -34,7 +34,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <vector> #include <vector>

View file

@ -35,7 +35,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <vector> #include <vector>

View file

@ -29,7 +29,7 @@
#include <mapnik/noncopyable.hpp> #include <mapnik/noncopyable.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include "dbfile.hpp" #include "dbfile.hpp"
#include "shapefile.hpp" #include "shapefile.hpp"

View file

@ -32,7 +32,7 @@
#include <mapnik/timer.hpp> #include <mapnik/timer.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>

View file

@ -36,7 +36,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <vector> #include <vector>

View file

@ -30,7 +30,7 @@
// boost // boost
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// sqlite // sqlite
#include "sqlite_resultset.hpp" #include "sqlite_resultset.hpp"

View file

@ -31,7 +31,7 @@
#include <mapnik/noncopyable.hpp> #include <mapnik/noncopyable.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <string.h> #include <string.h>

View file

@ -38,7 +38,7 @@
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>

View file

@ -12,7 +12,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
// stl // stl
#include <string> #include <string>

View file

@ -31,7 +31,7 @@ extern "C"
} }
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/scoped_array.hpp> #include <boost/scoped_array.hpp>
#include <boost/iostreams/device/file.hpp> #include <boost/iostreams/device/file.hpp>
#include <boost/iostreams/device/array.hpp> #include <boost/iostreams/device/array.hpp>

View file

@ -33,7 +33,7 @@
#include "agg_path_length.h" #include "agg_path_length.h"
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/ptr_container/ptr_vector.hpp> #include <boost/ptr_container/ptr_vector.hpp>
#include <boost/tuple/tuple.hpp> #include <boost/tuple/tuple.hpp>

View file

@ -41,7 +41,7 @@
#include <mapnik/debug_symbolizer.hpp> #include <mapnik/debug_symbolizer.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
#include <boost/concept_check.hpp> #include <boost/concept_check.hpp>

View file

@ -25,7 +25,7 @@
#include <mapnik/image_reader.hpp> #include <mapnik/image_reader.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
// iostreams // iostreams
#include <boost/iostreams/device/file.hpp> #include <boost/iostreams/device/file.hpp>

View file

@ -28,7 +28,7 @@
// boost // boost
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/program_options.hpp> #include <boost/program_options.hpp>
//stl //stl

View file

@ -36,7 +36,7 @@
// boost // boost
#include <boost/cstdint.hpp> #include <boost/cstdint.hpp>
#include <boost/scoped_array.hpp> #include <boost/scoped_array.hpp>
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
//stl //stl

View file

@ -22,7 +22,7 @@
#include <mapnik/noncopyable.hpp> #include <mapnik/noncopyable.hpp>
// boost // boost
#include <boost/shared_ptr.hpp> #include <memory>
#include <boost/variant.hpp> #include <boost/variant.hpp>
//sqlite3 //sqlite3