From 086a30e61aa153008bd403c79cd1bff3ad594179 Mon Sep 17 00:00:00 2001 From: James Turner Date: Fri, 14 Oct 2011 19:28:21 +0100 Subject: [PATCH] Add default constructor to simgear::Dir --- simgear/misc/sg_dir.cxx | 4 ++++ simgear/misc/sg_dir.hxx | 2 ++ 2 files changed, 6 insertions(+) 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(); /**