summaryrefslogtreecommitdiff
path: root/src/times.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-06 03:26:31 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-06 03:26:31 -0400
commit7548c7fe2cfbb3cc1a55cb42c3c2e12462f8a3f2 (patch)
tree81dbe6da33cbaa3851610b8ac07731574a9d6a4d /src/times.h
parent290cac7b84b60305e185c140645c9bac2ca9fb0e (diff)
downloadfork-ledger-7548c7fe2cfbb3cc1a55cb42c3c2e12462f8a3f2.tar.gz
fork-ledger-7548c7fe2cfbb3cc1a55cb42c3c2e12462f8a3f2.tar.bz2
fork-ledger-7548c7fe2cfbb3cc1a55cb42c3c2e12462f8a3f2.zip
Corrected a typename visibility issue
Diffstat (limited to 'src/times.h')
-rw-r--r--src/times.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/times.h b/src/times.h
index 48a9dd2a..51cc8491 100644
--- a/src/times.h
+++ b/src/times.h
@@ -285,6 +285,7 @@ class date_specifier_t
{
friend class date_parser_t;
+public:
#if 0
typedef date_t::year_type year_type;
#else
@@ -294,6 +295,7 @@ class date_specifier_t
typedef date_t::day_type day_type;
typedef date_t::day_of_week_type day_of_week_type;
+protected:
optional<year_type> year;
optional<month_type> month;
optional<day_type> day;