← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2165: 1. Skip yade::ObjectIO for boost::serialization-less builds. (thanks Nasibeh for reporting)

 

------------------------------------------------------------
revno: 2165
committer: Václav Šmilauer <eudoxos@xxxxxxxx>
branch nick: trunk
timestamp: Tue 2010-04-20 09:36:16 +0200
message:
  1. Skip yade::ObjectIO for boost::serialization-less builds. (thanks Nasibeh for reporting)
modified:
  lib/serialization/ObjectIO.hpp


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'lib/serialization/ObjectIO.hpp'
--- lib/serialization/ObjectIO.hpp	2010-04-19 10:18:42 +0000
+++ lib/serialization/ObjectIO.hpp	2010-04-20 07:36:16 +0000
@@ -2,6 +2,8 @@
 
 #pragma once
 
+#ifdef YADE_BOOST_SERIALIZATION
+
 #include<locale>
 #include<boost/archive/codecvt_null.hpp>
 #include<boost/iostreams/filtering_stream.hpp>
@@ -66,3 +68,5 @@
 };
 
 }
+
+#endif