From 23bc65c4b9b03ce17fad9b6bfaf09eb5796d0b4b Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 5 Aug 2015 13:19:28 -1000 Subject: [PATCH] restored projectpath constructor --- hecl/include/HECL/HECL.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hecl/include/HECL/HECL.hpp b/hecl/include/HECL/HECL.hpp index 1ef5e6c8f..6e03dc54f 100644 --- a/hecl/include/HECL/HECL.hpp +++ b/hecl/include/HECL/HECL.hpp @@ -398,7 +398,7 @@ protected: std::string m_utf8RelPath; #endif ProjectPath(const SystemString& projRoot) - : m_projRoot(projRoot), m_absPath(projRoot), m_relPath(_S(".")) + : m_projRoot(projRoot), m_absPath(projRoot), m_relPath(_S(".")) { SanitizePath(m_projRoot); SanitizePath(m_relPath); @@ -427,10 +427,10 @@ public: * @param parentPath previously constructed ProjectPath which ultimately connects to a ProjectRootPath * @param path valid filesystem-path (relative or absolute) to subpath */ -/* ProjectPath(const ProjectPath& parentPath, const SystemString& path) {assign(parentPath, path);} - void assign(const ProjectPath& parentPath, const SystemString& path);*/ + ProjectPath(const ProjectPath& parentPath, const SystemString& path) {assign(parentPath, path);} + void assign(const ProjectPath& parentPath, const SystemString& path); -#ifndef HECL_UCS2 +#if HECL_UCS2 ProjectPath(const ProjectPath& parentPath, const std::string& path) {assign(parentPath, path);} void assign(const ProjectPath& parentPath, const std::string& path); #endif