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
+12 -1
View File
@@ -39,7 +39,16 @@
* with a "*" symbol.
*/
using namespace std;
namespace ebusd {
using std::string;
using std::ostream;
using std::ostringstream;
using std::istream;
using std::istringstream;
using std::ifstream;
using std::cout;
using std::endl;
/** the separator character used between fields. */
#define FIELD_SEPARATOR ','
@@ -376,4 +385,6 @@ class FileReader {
string m_lastError;
};
} // namespace ebusd
#endif // LIB_EBUS_FILEREADER_H_