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
commit93cd6ea24bc646c26827bbadf252da97f6445e2d (patch)
treee6e7ec71fdce188d8fddf973c8d1fa94b4617634
parentAllow XSL row prefetches to return their failures upon actual use (diff)
downloadproject2-93cd6ea24bc646c26827bbadf252da97f6445e2d.tar.bz2
project2-93cd6ea24bc646c26827bbadf252da97f6445e2d.tar.xz
project2-93cd6ea24bc646c26827bbadf252da97f6445e2d.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;