Do not use namespace using-directives according to Google style guidelines "build/namespaces"
This commit is contained in:
parent
81946e9887
commit
01a65acdd6
3 changed files with 9 additions and 5 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <windows.h>
|
||||
#include <list>
|
||||
|
||||
using namespace TelldusCore;
|
||||
namespace TelldusCore {
|
||||
|
||||
class EventHandler::PrivateData {
|
||||
public:
|
||||
|
@ -73,3 +73,5 @@ bool EventHandler::waitForAny() {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace TelldusCore
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "common/Event.h"
|
||||
#include "common/Thread.h"
|
||||
|
||||
using namespace TelldusCore;
|
||||
namespace TelldusCore {
|
||||
|
||||
class Event::PrivateData {
|
||||
public:
|
||||
|
@ -38,4 +38,4 @@ void Event::sendSignal() {
|
|||
SetEvent(d->event);
|
||||
}
|
||||
|
||||
|
||||
} // namespace TelldusCore
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#define BUFSIZE 512
|
||||
|
||||
using namespace TelldusCore;
|
||||
namespace TelldusCore {
|
||||
|
||||
class Socket::PrivateData {
|
||||
public:
|
||||
|
@ -195,4 +195,6 @@ void Socket::write(const std::wstring &msg){
|
|||
|
||||
bool Socket::isConnected(){
|
||||
return d->connected;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace TelldusCore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue