removed save and load to text archive functionality to keep x86_64 build happy
This commit is contained in:
parent
153fbc9572
commit
e21c3b36f6
2 changed files with 0 additions and 21 deletions
|
@ -74,10 +74,7 @@
|
|||
namespace mapnik
|
||||
{
|
||||
void save_to_xml(Map const& map,const char* filename);
|
||||
void save_to_text(Map const& map,const char* filename);
|
||||
|
||||
void load_from_xml(Map & map, const char * filename);
|
||||
void load_from_text(Map & map, const char * filename);
|
||||
}
|
||||
|
||||
#endif //MAPNIK_HPP
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
//$Id$
|
||||
|
||||
#include <fstream>
|
||||
#include <boost/archive/text_oarchive.hpp>
|
||||
#include <boost/archive/text_iarchive.hpp>
|
||||
#include <boost/archive/xml_iarchive.hpp>
|
||||
#include <boost/archive/xml_oarchive.hpp>
|
||||
#include "mapnik.hpp"
|
||||
|
@ -34,14 +32,6 @@ namespace mapnik
|
|||
boost::archive::xml_oarchive oa(ofs);
|
||||
oa << boost::serialization::make_nvp("map",m);
|
||||
}
|
||||
|
||||
void save_to_text(Map const& m,const char* filename)
|
||||
{
|
||||
std::ofstream ofs(filename);
|
||||
assert(ofs.good());
|
||||
boost::archive::text_oarchive oa(ofs);
|
||||
oa << m;
|
||||
}
|
||||
|
||||
void load_from_xml(Map & m,const char* filename)
|
||||
{
|
||||
|
@ -50,14 +40,6 @@ namespace mapnik
|
|||
boost::archive::xml_iarchive ia(ifs);
|
||||
ia >> boost::serialization::make_nvp("map",m);
|
||||
}
|
||||
|
||||
void load_from_text(Map & m,const char* filename)
|
||||
{
|
||||
std::ifstream ifs(filename);
|
||||
assert(ifs.good());
|
||||
boost::archive::text_iarchive ia(ifs);
|
||||
ia >> m;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue