Remove "using namespace std;" from headers

[artf3605]

Change-Id: I0dc6172114608eb5e52d341be8064758faa1c781
This commit is contained in:
Thomas Clark
2014-09-24 14:09:08 -04:00
committed by Thomas Clark
parent 1bcdd301eb
commit 323022acfd
5 changed files with 69 additions and 81 deletions

View File

@@ -4,19 +4,17 @@
#include <map>
#include <string>
using namespace std;
/**
* A simple cache that allows for caching the mapping of one string to another calculated one
*
*
* @author Mitchell
*
*/
class StringCache {
private:
map<std::string, std::string> cache;
std::map<std::string, std::string> cache;
/**
* @param input
* @return the value for a given input
@@ -24,10 +22,10 @@ private:
public:
StringCache();
virtual ~StringCache();
std::string& Get(const std::string& input);
/**
* Will only be called if a value has not already been calculated
* @param input