From c3fc3eb5584a044105f87918d50959e4534b7b7a Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 5 Aug 2009 08:48:57 +0000 Subject: Fixed compile problem with the internal declaration of the ResumeEntry class. --- server/src/journal_commit.cc | 6 ------ server/src/journal_commit.h | 8 ++++++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/server/src/journal_commit.cc b/server/src/journal_commit.cc index f2ff6c0..e0db705 100644 --- a/server/src/journal_commit.cc +++ b/server/src/journal_commit.cc @@ -52,12 +52,6 @@ #include "template.h" #include "templateparser.h" -class ResumeEntry { -public: - std::string resume; - std::string macro; -}; - static inline bool iswhitespace(char c) { return c == ' ' || c == '\n' || c == '\t'; diff --git a/server/src/journal_commit.h b/server/src/journal_commit.h index 2d6e092..82919ed 100644 --- a/server/src/journal_commit.h +++ b/server/src/journal_commit.h @@ -32,8 +32,6 @@ #include "transaction.h" -class ResumeEntry; - class JournalWriter { public: JournalWriter(std::string host, unsigned short int port); @@ -50,6 +48,12 @@ private: std::string currentuser; std::string currentcpr; + class ResumeEntry { + public: + std::string resume; + std::string macro; + }; + std::map< int, ResumeEntry > entrylist; }; -- cgit v1.2.3