[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [4923] Remove a disused member function
From: |
Greg Chicares |
Subject: |
[lmi-commits] [4923] Remove a disused member function |
Date: |
Sat, 08 May 2010 12:05:35 +0000 |
Revision: 4923
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=4923
Author: chicares
Date: 2010-05-08 12:05:34 +0000 (Sat, 08 May 2010)
Log Message:
-----------
Remove a disused member function
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/dbvalue.cpp
lmi/trunk/dbvalue.hpp
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2010-05-08 12:04:38 UTC (rev 4922)
+++ lmi/trunk/ChangeLog 2010-05-08 12:05:34 UTC (rev 4923)
@@ -25537,3 +25537,24 @@
dbvalue.cpp
Make default ctor establish invariants.
+20100508T0253Z <address@hidden> [717]
+
+ dbvalue.cpp
+Regularize invariants and assertions.
+
+20100508T1204Z <address@hidden> [714]
+
+ database.cpp
+ ihs_database.cpp
+Fix defect introduced 20050114T1947Z, from an original file predating
+the lmi epoch. In practice, very few product-database entities vary by
+duration, so handling those that do not in the simplest manner is an
+important speed optimization; however, the simple code branch was
+unreachable because its condition was incorrect.
+
+20100508T1205Z <address@hidden> [714]
+
+ dbvalue.cpp
+ dbvalue.hpp
+Remove a disused member function.
+
Modified: lmi/trunk/dbvalue.cpp
===================================================================
--- lmi/trunk/dbvalue.cpp 2010-05-08 12:04:38 UTC (rev 4922)
+++ lmi/trunk/dbvalue.cpp 2010-05-08 12:05:34 UTC (rev 4923)
@@ -466,13 +466,6 @@
return key_;
}
-// Deprecated.
-
-int database_entity::GetNDims() const
-{
- return e_number_of_axes;
-}
-
int database_entity::GetLength() const
{
return axis_lengths_.at(6);
Modified: lmi/trunk/dbvalue.hpp
===================================================================
--- lmi/trunk/dbvalue.hpp 2010-05-08 12:04:38 UTC (rev 4922)
+++ lmi/trunk/dbvalue.hpp 2010-05-08 12:05:34 UTC (rev 4923)
@@ -99,7 +99,6 @@
double& operator[](std::vector<int> const& idx);
int GetKey() const;
- int GetNDims() const; // Antediluvian: detect default-contructed
objects.
int GetLength() const;
int GetLength(int axis) const;
std::vector<int> const& GetAxisLengths() const;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [4923] Remove a disused member function,
Greg Chicares <=