summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/common/environment.cpp7
-rw-r--r--project2/common/environment.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/project2/common/environment.cpp b/project2/common/environment.cpp
index 3fab7ec..3106e9a 100644
--- a/project2/common/environment.cpp
+++ b/project2/common/environment.cpp
@@ -113,10 +113,3 @@ Environment::resolveScript(const std::string & group, const std::string & name)
return script;
}
-boost::filesystem::path
-Environment::resolveScript(const std::string & path) const
-{
- boost::filesystem::path script(boost::filesystem::current_path());
- return script / path;
-}
-
diff --git a/project2/common/environment.h b/project2/common/environment.h
index 681a80c..367d800 100644
--- a/project2/common/environment.h
+++ b/project2/common/environment.h
@@ -23,7 +23,6 @@ class Environment {
virtual std::string getScriptName() const = 0;
boost::filesystem::path resolveScript(const std::string & group, const std::string & name) const;
- boost::filesystem::path resolveScript(const std::string & path) const;
private:
static const Environment * currentEnv;