Skip to content

Commit

Permalink
Got rid of intrusive 'using std' propagation in LAGAN
Browse files Browse the repository at this point in the history
  • Loading branch information
iminkin committed Nov 30, 2017
1 parent f2bc132 commit 397e687
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lagan/src/glocal/score.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

extern vector<class Score*> scoreFunctions[1<<(UPSTRANDBITS+DOWNSTRANDBITS+RELPOSBITS)];

using std::ifstream;

float Score::getScore(Fragment *up, Fragment * down) {
long long int absSeq1,absSeq2,absDiagonal,absMin,absMax;
Expand Down
12 changes: 11 additions & 1 deletion src/lagan/src/glocal/structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@
#include <list>
#include <string.h>

using namespace std;
//using namespace std;

using std::pair;
using std::max;
using std::min;
using std::list;
using std::vector;
using std::map;
using std::multimap;
using std::set;
using std::multiset;

#define RIGHT 0
#define LEFT 1
Expand Down

0 comments on commit 397e687

Please sign in to comment.