summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-07 10:24:55 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:38 -0400
commit8aada79971b772fda92131053fa03021cfbc625a (patch)
treefbb25be31a419958167d1d166ab0f35d3b7f6a86 /src/utils.h
parent65e4fc7ebff0245fe13f99663c341e000a29af48 (diff)
downloadfork-ledger-8aada79971b772fda92131053fa03021cfbc625a.tar.gz
fork-ledger-8aada79971b772fda92131053fa03021cfbc625a.tar.bz2
fork-ledger-8aada79971b772fda92131053fa03021cfbc625a.zip
Added a facility for handling scoped executions.
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/utils.h b/src/utils.h
index 22fc48dc..a3ef8d39 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -441,16 +441,13 @@ inline void throw_unexpected_error(char c, char wanted) {
/**********************************************************************
*
* Date/time support classes
- */
-
-#include "times.h"
-
-/**********************************************************************
- *
* General support for objects with "flags"
+ * Support for scoped execution and variable restoration
*/
+#include "times.h"
#include "flags.h"
+#include "scoped_execute.h"
/**********************************************************************
*