OSDN Git Service

Set serialization version of Authority and FixedArtifact class.
authorDeskull <deskull@users.sourceforge.jp>
Mon, 21 Apr 2014 10:36:31 +0000 (19:36 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Mon, 21 Apr 2014 10:36:31 +0000 (19:36 +0900)
Deeangband/Authority.h
Deeangband/FixedArtifact.h

index df87441..bdf1a3e 100644 (file)
@@ -12,8 +12,6 @@
 #include "Deeangband.h"
 #include "CreatureTemplate.h"
 
-BOOST_CLASS_VERSION(Authority, 1);
-
 namespace Deeangband
 {
 
@@ -70,5 +68,6 @@ namespace Deeangband
                */
                NAME Authority::GetName(void);
        };
+}
 
-}
\ No newline at end of file
+BOOST_CLASS_VERSION(Deeangband::Authority, 10);
index 4ea74cd..00783dc 100644 (file)
@@ -12,8 +12,6 @@
 #include "ItemTemplate.h"
 #include "SavingTable.h"
 
-BOOST_CLASS_VERSION(FixedArtifact, 1);
-
 namespace Deeangband
 {
 
@@ -78,5 +76,6 @@ namespace Deeangband
                void FixedArtifact::SetDammyData(void);
 
        };
+}
 
-}
\ No newline at end of file
+BOOST_CLASS_VERSION(Deeangband::FixedArtifact, 10);