summaryrefslogtreecommitdiff
path: root/entry.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-30 05:12:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-30 05:12:46 -0400
commit2aff35215fbe24459aa4057d5b31ea7490046ca6 (patch)
tree6a79a3d84e352e3b3647484b0daf38b1ae6aa81f /entry.h
parent230d7fd6027d05422f4bb26e9bfb3758a9cb16ea (diff)
downloadfork-ledger-2aff35215fbe24459aa4057d5b31ea7490046ca6.tar.gz
fork-ledger-2aff35215fbe24459aa4057d5b31ea7490046ca6.tar.bz2
fork-ledger-2aff35215fbe24459aa4057d5b31ea7490046ca6.zip
Enabled a huge number of warning flags for g++ in acprep, and fixed them all
except for several unused parameter warnings (because there is so much code still #if 0'd out), and one implicit conversion from long long to long which still has to be dealt with.
Diffstat (limited to 'entry.h')
-rw-r--r--entry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/entry.h b/entry.h
index 84802b60..b092684d 100644
--- a/entry.h
+++ b/entry.h
@@ -143,7 +143,7 @@ public:
TRACE_CTOR(auto_entry_t, "");
}
auto_entry_t(const auto_entry_t& other)
- : predicate(other.predicate) {
+ : entry_base_t(), predicate(other.predicate) {
TRACE_CTOR(auto_entry_t, "copy");
}
auto_entry_t(const string& _predicate)
@@ -170,7 +170,7 @@ struct auto_entry_finalizer_t : public entry_finalizer_t
TRACE_CTOR(auto_entry_finalizer_t, "");
}
auto_entry_finalizer_t(const auto_entry_finalizer_t& other)
- : journal(other.journal) {
+ : entry_finalizer_t(), journal(other.journal) {
TRACE_CTOR(auto_entry_finalizer_t, "copy");
}
auto_entry_finalizer_t(journal_t * _journal) : journal(_journal) {