Changeset 523 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/ObjectModule.cpp
- Timestamp:
- May 1, 2008, 11:03:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/ObjectModule.cpp
r522 r523 48 48 #include <boost/serialization/version.hpp> 49 49 #include <boost/serialization/is_abstract.hpp> 50 #include <boost/serialization/serialization.hpp> 51 #include <boost/serialization/nvp.hpp> 52 #include <boost/serialization/export.hpp> 50 53 51 54 #include <jenga/include/jenga.h> … … 113 116 boost::archive::xml_iarchive ia(ifs); 114 117 #else 115 std::ifstream ifs( filePath.c_str(), ios::in |ios::binary );118 std::ifstream ifs( filePath.c_str(), std::ios::in | std::ios::binary ); 116 119 boost::archive::binary_iarchive ia(ifs); 117 120 #endif … … 146 149 boost::archive::xml_oarchive oa(ofs); 147 150 #else 148 std::ofstream ofs( filePath.c_str(), ios::out |ios::binary );151 std::ofstream ofs( filePath.c_str(), std::ios::out | std::ios::binary ); 149 152 boost::archive::binary_oarchive oa(ofs); 150 153 #endif … … 181 184 boost::archive::xml_iarchive ia(iss); 182 185 #else 183 std::istringstream iss( str, ios::in |ios::binary );186 std::istringstream iss( str, std::ios::in | std::ios::binary ); 184 187 boost::archive::binary_iarchive ia(iss); 185 188 #endif … … 215 218 boost::archive::xml_oarchive oa(oss); 216 219 #else 217 std::ostringstream oss( "", ios::out |ios::binary );220 std::ostringstream oss( "", std::ios::out | std::ios::binary ); 218 221 boost::archive::binary_oarchive oa(oss); 219 222 #endif
Note:
See TracChangeset
for help on using the changeset viewer.