lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [4926] Refactor


From: Greg Chicares
Subject: [lmi-commits] [4926] Refactor
Date: Sat, 08 May 2010 13:47:11 +0000

Revision: 4926
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=4926
Author:   chicares
Date:     2010-05-08 13:47:11 +0000 (Sat, 08 May 2010)
Log Message:
-----------
Refactor

Modified Paths:
--------------
    lmi/trunk/actuarial_table.cpp
    lmi/trunk/oecumenic_enumerations.hpp

Modified: lmi/trunk/actuarial_table.cpp
===================================================================
--- lmi/trunk/actuarial_table.cpp       2010-05-08 13:46:13 UTC (rev 4925)
+++ lmi/trunk/actuarial_table.cpp       2010-05-08 13:47:11 UTC (rev 4926)
@@ -31,6 +31,7 @@
 #include "alert.hpp"
 #include "assert_lmi.hpp"
 #include "miscellany.hpp"
+#include "oecumenic_enumerations.hpp" // methuselah
 #include "path_utility.hpp" // fs::path inserter
 
 #include <boost/cstdint.hpp>
@@ -63,9 +64,6 @@
         std::numeric_limits<soa_table_length_type>::max()
         ;
 
-    /// Genesis 5:27.
-    int const methuselah = 969;
-
     /// Use the value -1 as an initializer because it is invalid for
     /// all integral data fields, then assert that it doesn't equal
     /// the value ultimately returned. Cast it to the argument type

Modified: lmi/trunk/oecumenic_enumerations.hpp
===================================================================
--- lmi/trunk/oecumenic_enumerations.hpp        2010-05-08 13:46:13 UTC (rev 
4925)
+++ lmi/trunk/oecumenic_enumerations.hpp        2010-05-08 13:47:11 UTC (rev 
4926)
@@ -26,6 +26,10 @@
 
 #include "config.hpp"
 
+/// Genesis 5:27.
+
+enum {methuselah = 969};
+
 enum oenum_allocation_method
     {oe_input_allocation
     ,oe_override_allocation





reply via email to

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