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
+8 -1
View File
@@ -27,7 +27,12 @@
#include "log.h"
#include "data.h"
using namespace std;
namespace ebusd {
using std::dec;
using std::hex;
using std::setfill;
using std::setw;
/** the number of seconds of permanent missing signal after which to reconnect the device. */
#define RECONNECT_MISSING_SIGNAL 60
@@ -1534,3 +1539,5 @@ string MainLoop::executeGet(vector<string> &args, bool& connected) {
connected = false;
return result.str();
}
} // namespace ebusd