use own namespace

This commit is contained in:
john30
2017-01-14 16:41:54 +01:00
parent 7bd9446f13
commit 774e01e937
43 changed files with 196 additions and 48 deletions
+7 -1
View File
@@ -29,7 +29,11 @@
#include <cstring>
#include <algorithm>
using namespace std;
namespace ebusd {
using std::dec;
using std::hex;
using std::setw;
/** the week day names. */
static const char* dayNames[] = {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"};
@@ -1057,3 +1061,5 @@ DataField* DataFieldTemplates::get(const string name) {
}
return ref->second;
}
} // namespace ebusd