summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authordeva <deva>2009-08-05 08:48:57 +0000
committerdeva <deva>2009-08-05 08:48:57 +0000
commitc3fc3eb5584a044105f87918d50959e4534b7b7a (patch)
treecf12852a10b7e1b5ae8b81793a848423a9cbe5b3 /server
parent2ab16123cc7566b597da05a9a0cb98c33eceff35 (diff)
Fixed compile problem with the internal declaration of the ResumeEntry class.
Diffstat (limited to 'server')
-rw-r--r--server/src/journal_commit.cc6
-rw-r--r--server/src/journal_commit.h8
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;
};