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

#include <unistd.h> #include <unistd.h>
#include "GBUdb.hpp" #include "GBUdb.hpp"


using namespace std;
namespace cd = codedweller;


//// Handy utilities... //// Handy utilities...


} }
} }


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. void GBUdbDataset::load() { // Read the GBUdb from disk.


); );
} }


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


time_t rawtime; // Get a timer and time_t rawtime; // Get a timer and

Loading…
Cancel
Save