Skip to content

Commit 72f3b9a

Browse files
committed
Fixing namespace problems
1 parent 11cd785 commit 72f3b9a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Src/DasherCore/AlphabetManager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <vector>
1616

1717
using namespace Dasher;
18+
using namespace std;
1819

1920

2021
CNodeManager* Dasher::CAlphBase::mgr() const

Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "HashTable.h"
1212

1313
using namespace Dasher;
14+
using namespace std;
1415

1516

1617
CCTWLanguageModel::CCTWLanguageModel(int iNumSyms) : CLanguageModel(iNumSyms) {

Src/DasherCore/LanguageModelling/CTWLanguageModel.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
#include <deque>
1111
#include <cstdint>
1212

13-
using namespace Dasher;
14-
using namespace std;
15-
1613
namespace Dasher {
1714

1815
// CTW language model
@@ -78,7 +75,7 @@ namespace Dasher {
7875
}
7976
~ CCTWContext(){};
8077
bool Full;
81-
deque<int> Context;
78+
std::deque<int> Context;
8279
};
8380

8481
virtual bool WriteToFile(std::string strFilename, std::string AlphabetName);

0 commit comments

Comments
 (0)