Remove using std::XXX from headers
This is a bad practice to have using in headers because it pollutes the
namespace of any user of that header.
diff --git a/remote-processor/Message.h b/remote-processor/Message.h
index feafc83..2e52c09 100644
--- a/remote-processor/Message.h
+++ b/remote-processor/Message.h
@@ -32,8 +32,6 @@
#include <stdint.h>
#include <string>
-using namespace std;
-
class CSocket;
class CMessage
@@ -69,9 +67,9 @@
// Data
void writeData(const void* pvData, uint32_t uiSize);
void readData(void* pvData, uint32_t uiSize);
- void writeString(const string& strData);
- void readString(string& strData);
- uint32_t getStringSize(const string& strData) const;
+ void writeString(const std::string& strData);
+ void readString(std::string& strData);
+ uint32_t getStringSize(const std::string& strData) const;
// Remaining data size
uint32_t getRemainingDataSize() const;
private: