summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-10-10 21:05:30 +0000
committerrandomdan <randomdan@localhost>2011-10-10 21:05:30 +0000
commitfa04f04e123035c04d34493e4a63198bd4624cba (patch)
treee6e7ec71fdce188d8fddf973c8d1fa94b4617634
parentAllow XSL row prefetches to return their failures upon actual use (diff)
downloadproject2-fa04f04e123035c04d34493e4a63198bd4624cba.tar.bz2
project2-fa04f04e123035c04d34493e4a63198bd4624cba.tar.xz
project2-fa04f04e123035c04d34493e4a63198bd4624cba.zip
Remove some dead code
-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;