summaryrefslogtreecommitdiff
path: root/src/accum.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/accum.cc')
-rw-r--r--src/accum.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/accum.cc b/src/accum.cc
index 8f3d5185..3add051b 100644
--- a/src/accum.cc
+++ b/src/accum.cc
@@ -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
@@ -35,6 +35,9 @@
namespace ledger {
+straccstream _accum;
+std::ostringstream _accum_buffer;
+
std::streamsize straccbuf::xsputn(const char * s, std::streamsize num)
{
if (index == 0) {