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 <list>
using namespace TelldusCore;
namespace TelldusCore {
class EventHandler::PrivateData {
public:
@ -73,3 +73,5 @@ bool EventHandler::waitForAny() {
return true;
}
}
} // namespace TelldusCore

View file

@ -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

View file

@ -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