[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [4969] Remove old markup; rearrange
From: |
Greg Chicares |
Subject: |
[lmi-commits] [4969] Remove old markup; rearrange |
Date: |
Mon, 31 May 2010 23:42:32 +0000 |
Revision: 4969
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=4969
Author: chicares
Date: 2010-05-31 23:42:30 +0000 (Mon, 31 May 2010)
Log Message:
-----------
Remove old markup; rearrange
Modified Paths:
--------------
lmi/trunk/dbdict.cpp
Modified: lmi/trunk/dbdict.cpp
===================================================================
--- lmi/trunk/dbdict.cpp 2010-05-31 16:05:22 UTC (rev 4968)
+++ lmi/trunk/dbdict.cpp 2010-05-31 23:42:30 UTC (rev 4969)
@@ -55,23 +55,6 @@
unsigned int const NumberOfEntries = DB_LAST;
unsigned int const NumberOfLeaves = DB_LAST - 23;
-//============================================================================
-DBDictionary& DBDictionary::instance()
-{
- static DBDictionary z;
- return z;
-}
-
-//============================================================================
-DBDictionary::DBDictionary()
-{
-}
-
-//============================================================================
-DBDictionary::~DBDictionary()
-{
-}
-
namespace xml_serialize
{
template<> struct xml_io<database_entity>
@@ -134,6 +117,20 @@
};
} // namespace xml_serialize
+DBDictionary& DBDictionary::instance()
+{
+ static DBDictionary z;
+ return z;
+}
+
+DBDictionary::DBDictionary()
+{
+}
+
+DBDictionary::~DBDictionary()
+{
+}
+
namespace
{
std::string xml_root_name()
@@ -204,7 +201,6 @@
cached_filename_.clear();
}
-//============================================================================
void DBDictionary::WriteDB(std::string const& filename)
{
InvalidateCache();
@@ -322,7 +318,6 @@
);
}
-//============================================================================
void DBDictionary::WriteSampleDBFile()
{
InitDB();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [4969] Remove old markup; rearrange,
Greg Chicares <=