From f6999a720d1d9f0f184ec780f6255a5403157ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Thu, 7 Feb 2013 23:33:04 +0100 Subject: [PATCH] Fix mismatch declaration between struct and class --- dic/compdic.h | 4 ++-- dic/dic.h | 2 +- dic/grammar.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dic/compdic.h b/dic/compdic.h index e185218..709b49b 100644 --- a/dic/compdic.h +++ b/dic/compdic.h @@ -31,8 +31,8 @@ #include "dic_internals.h" #include "logging.h" -class DicEdge; -class DictHeaderInfo; +struct DicEdge; +struct DictHeaderInfo; class Header; using namespace std; diff --git a/dic/dic.h b/dic/dic.h index 1b86f89..2325ec8 100644 --- a/dic/dic.h +++ b/dic/dic.h @@ -44,7 +44,7 @@ typedef unsigned char dic_code_t; struct params_cross_t; struct params_7plus1_t; struct params_regexp_t; -class DicEdge; +struct DicEdge; /** * A wdstring is a display string, i.e. it can contain more chars than diff --git a/dic/grammar.h b/dic/grammar.h index b96cee2..4150925 100644 --- a/dic/grammar.h +++ b/dic/grammar.h @@ -23,7 +23,7 @@ class Dictionary; class Node; -class searchRegExpLists; +struct searchRegExpLists; bool parseRegexp(const Dictionary &iDic, const wchar_t *input,