Do not use namespace using-directives according to Google style guidelines "build/namespaces"

This commit is contained in:
Micke Prag 2012-12-04 16:56:44 +01:00
parent 81946e9887
commit 01a65acdd6
3 changed files with 9 additions and 5 deletions

View file

@ -11,7 +11,7 @@
#include <windows.h> #include <windows.h>
#include <list> #include <list>
using namespace TelldusCore; namespace TelldusCore {
class EventHandler::PrivateData { class EventHandler::PrivateData {
public: public:
@ -73,3 +73,5 @@ bool EventHandler::waitForAny() {
return true; return true;
} }
} }
} // namespace TelldusCore

View file

@ -7,7 +7,7 @@
#include "common/Event.h" #include "common/Event.h"
#include "common/Thread.h" #include "common/Thread.h"
using namespace TelldusCore; namespace TelldusCore {
class Event::PrivateData { class Event::PrivateData {
public: public:
@ -38,4 +38,4 @@ void Event::sendSignal() {
SetEvent(d->event); SetEvent(d->event);
} }
} // namespace TelldusCore

View file

@ -12,7 +12,7 @@
#define BUFSIZE 512 #define BUFSIZE 512
using namespace TelldusCore; namespace TelldusCore {
class Socket::PrivateData { class Socket::PrivateData {
public: public:
@ -196,3 +196,5 @@ void Socket::write(const std::wstring &msg){
bool Socket::isConnected(){ bool Socket::isConnected(){
return d->connected; return d->connected;
} }
} // namespace TelldusCore