From: James Turner Date: Fri, 14 Oct 2011 18:28:21 +0000 (+0100) Subject: Add default constructor to simgear::Dir X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=086a30e61aa153008bd403c79cd1bff3ad594179;p=simgear.git Add default constructor to simgear::Dir --- diff --git a/simgear/misc/sg_dir.cxx b/simgear/misc/sg_dir.cxx index 99ede3e4..e1a2610f 100644 --- a/simgear/misc/sg_dir.cxx +++ b/simgear/misc/sg_dir.cxx @@ -44,6 +44,10 @@ using std::string; namespace simgear { +Dir::Dir() +{ +} + Dir::Dir(const SGPath& path) : _path(path) { diff --git a/simgear/misc/sg_dir.hxx b/simgear/misc/sg_dir.hxx index 707053ab..7befbc8c 100644 --- a/simgear/misc/sg_dir.hxx +++ b/simgear/misc/sg_dir.hxx @@ -42,6 +42,8 @@ namespace simgear class Dir { public: + Dir(); + static Dir current(); /**