From 93cd6ea24bc646c26827bbadf252da97f6445e2d Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 10 Oct 2011 21:05:30 +0000 Subject: Remove some dead code --- project2/common/environment.cpp | 7 ------- project2/common/environment.h | 1 - 2 files changed, 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; -- cgit v1.2.3