Browse Source

cleaned up namespace in GBUdb

master
Pete McNeil 4 years ago
parent
commit
67edccbf69
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      GBUdb.cpp

+ 3
- 3
GBUdb.cpp View File

@@ -11,7 +11,7 @@
#include <unistd.h>
#include "GBUdb.hpp"

using namespace std;
namespace cd = codedweller;

//// Handy utilities...

@@ -334,7 +334,7 @@ void GBUdbDataset::save() {
}
}

const RuntimeCheck SaneFileSizeCheck("GBUdbDataset::load():SaneFileSizeCheck(SaneGBUdbFileSizeLimit <= FileSize)");
const cd::RuntimeCheck SaneFileSizeCheck("GBUdbDataset::load():SaneFileSizeCheck(SaneGBUdbFileSizeLimit <= FileSize)");

void GBUdbDataset::load() { // Read the GBUdb from disk.

@@ -509,7 +509,7 @@ bool AlertFor(int count) {
);
}

RuntimeCheck GoodTimestampLength("GBUdb.cpp:getTimestamp snprintf(...) == CorrectTimestampLength");
cd::RuntimeCheck GoodTimestampLength("GBUdb.cpp:getTimestamp snprintf(...) == CorrectTimestampLength");
char* getTimestamp(char* TimestampBfr) { // Creates an ISO GMT timestamp.

time_t rawtime; // Get a timer and

Loading…
Cancel
Save