summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/format.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/format.h b/src/format.h
index ff33e2d7..cb4ef2dd 100644
--- a/src/format.h
+++ b/src/format.h
@@ -39,6 +39,8 @@ namespace ledger {
DECLARE_EXCEPTION(format_error, std::runtime_error);
+class report_t;
+
class format_t : public noncopyable
{
struct element_t : public supports_flags<>, public noncopyable
@@ -105,6 +107,8 @@ private:
static element_t * parse_elements(const string& fmt);
+ friend class report_t;
+
public:
format_t() {
TRACE_CTOR(format_t, "");