namespace: try to resolve ndn and std conflicts
Change-Id: I141ead4b8f30ce75bae73974e47e6e5acd75a296
diff --git a/src/invitation-dialog.cpp b/src/invitation-dialog.cpp
index d14715b..1da8f00 100644
--- a/src/invitation-dialog.cpp
+++ b/src/invitation-dialog.cpp
@@ -12,7 +12,6 @@
#include "invitation-dialog.h"
#include "ui_invitation-dialog.h"
-using namespace std;
using namespace ndn;
InvitationDialog::InvitationDialog(QWidget *parent)
@@ -33,11 +32,11 @@
}
void
-InvitationDialog::setInvitation(const string& alias,
- const string& chatroom,
+InvitationDialog::setInvitation(const std::string& alias,
+ const std::string& chatroom,
const Name& interestName)
{
- string msg = alias;
+ std::string msg = alias;
m_invitationInterest = interestName;
msg.append(" invites you to: ").append(chatroom);
ui->msgLabel->setText(QString::fromStdString(msg));