summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-09-30 06:47:07 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:18 -0400
commit50c689e1ae75a304ef7431fa489360076e837120 (patch)
treefbae08e6e8db36d4cb1d64606355bcc5655ebcbd
parentb462a8bf5076ea7376acdc8f7e12054c7f70bdb9 (diff)
downloadfork-ledger-50c689e1ae75a304ef7431fa489360076e837120.tar.gz
fork-ledger-50c689e1ae75a304ef7431fa489360076e837120.tar.bz2
fork-ledger-50c689e1ae75a304ef7431fa489360076e837120.zip
Made the anonymous enum for action types into a named enum, as this
causes problems for template instantiation in the latest versions of gcc.
-rw-r--r--gnucash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnucash.cc b/gnucash.cc
index 9b107c1d..5f883059 100644
--- a/gnucash.cc
+++ b/gnucash.cc
@@ -49,7 +49,7 @@ static unsigned int src_idx;
static istream_pos_type beg_pos;
static unsigned long beg_line;
-static enum {
+static enum action_t {
NO_ACTION,
ACCOUNT_NAME,
ACCOUNT_ID,