From 74f25b32f313987aad22af901b75a8e59a90734a Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 24 May 2013 17:47:03 +0300 Subject: [PATCH] Use correct keyword in forward declaration clang isn't happy if a struct is forward declared as a class, even though they are semantically equivalent in that context. --- source/parser.h | 1 - source/textparser.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/parser.h b/source/parser.h index aeab71d..6ad28b5 100644 --- a/source/parser.h +++ b/source/parser.h @@ -9,7 +9,6 @@ namespace DataFile { class ParserMode; class Statement; -struct Token; /** Frontend for loading datafiles. Handles switching between text and binary diff --git a/source/textparser.h b/source/textparser.h index 2ac4e88..8235dc6 100644 --- a/source/textparser.h +++ b/source/textparser.h @@ -6,7 +6,7 @@ namespace Msp { namespace DataFile { -class Token; +struct Token; class TextParser: public ParserMode { -- 2.43.0