summaryrefslogtreecommitdiff
path: root/src/temps.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/temps.h')
-rw-r--r--src/temps.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/temps.h b/src/temps.h
index 1e7eb69f..daa1493b 100644
--- a/src/temps.h
+++ b/src/temps.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003-2010, John Wiegley. All rights reserved.
+ * Copyright (c) 2003-2012, John Wiegley. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -51,7 +51,11 @@ class temporaries_t
optional<std::list<account_t> > acct_temps;
public:
+ temporaries_t() {
+ TRACE_CTOR(temporaries_t, "");
+ }
~temporaries_t() {
+ TRACE_DTOR(temporaries_t);
clear();
}
@@ -62,7 +66,8 @@ public:
}
post_t& copy_post(post_t& origin, xact_t& xact,
account_t * account = NULL);
- post_t& create_post(xact_t& xact, account_t * account);
+ post_t& create_post(xact_t& xact, account_t * account,
+ bool bidir_link = true);
post_t& last_post() {
return post_temps->back();
}