lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [4978] Require '.funds' extension


From: Greg Chicares
Subject: [lmi-commits] [4978] Require '.funds' extension
Date: Tue, 08 Jun 2010 12:42:32 +0000

Revision: 4978
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=4978
Author:   chicares
Date:     2010-06-08 12:42:31 +0000 (Tue, 08 Jun 2010)
Log Message:
-----------
Require '.funds' extension

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/fund_data.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2010-06-08 12:41:33 UTC (rev 4977)
+++ lmi/trunk/ChangeLog 2010-06-08 12:42:31 UTC (rev 4978)
@@ -25963,3 +25963,14 @@
   input_test.cpp
 Refactor, using symbolic member names in class DBDictionary.
 
+20100608T1241Z <address@hidden> [704]
+
+  dbdict.cpp
+  dbdict.hpp
+Refactor, deriving stratified_charges from xml_serializable.
+
+20100608T1242Z <address@hidden> [704]
+
+  fund_data.cpp
+Require '.funds' extension.
+

Modified: lmi/trunk/fund_data.cpp
===================================================================
--- lmi/trunk/fund_data.cpp     2010-06-08 12:41:33 UTC (rev 4977)
+++ lmi/trunk/fund_data.cpp     2010-06-08 12:42:31 UTC (rev 4978)
@@ -35,9 +35,6 @@
 #include "xml_lmi.hpp"
 #include "xml_serialize.hpp"
 
-#include <boost/filesystem/convenience.hpp>
-#include <boost/filesystem/path.hpp>
-
 //============================================================================
 FundInfo::FundInfo()
     :ScalarIMF_(0.0)
@@ -145,13 +142,7 @@
     xml_lmi::set_attr(root, "version", "0");
     xml_serialize::to_xml(root, FundInfo_);
 
-    // Instead of this:
-//    document.save(a_Filename);
-    // for the nonce, explicitly change the extension, in order to
-    // force external product-file code to use the new extension.
-    fs::path path(a_Filename, fs::native);
-    path = fs::change_extension(path, ".funds");
-    document.save(path.string());
+    document.save(a_Filename);
 }
 
 //============================================================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]