[libxml++] Fix a warning found by clang++
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml++] Fix a warning found by clang++
- Date: Wed, 21 Mar 2012 09:25:13 +0000 (UTC)
commit ff24d43dadf5b26ffc4dc15a9aa4567ae07bfee0
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Mar 21 10:25:04 2012 +0100
Fix a warning found by clang++
* libxml++/parsers/textreader.h: PropertyReader is a class, not
a struct.
ChangeLog | 7 +++++++
libxml++/parsers/textreader.h | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d8d7ccb..2dc9c49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-03-21 Murray Cumming <murrayc murrayc com>
+
+ Fix a warning found by clang++
+
+ * libxml++/parsers/textreader.h: PropertyReader is a class, not
+ a struct.
+
2012-03-20 Murray Cumming <murrayc murrayc com>
Remove the --disable-api-exceptions configure option.
diff --git a/libxml++/parsers/textreader.h b/libxml++/parsers/textreader.h
index 1f730cd..595e2e5 100644
--- a/libxml++/parsers/textreader.h
+++ b/libxml++/parsers/textreader.h
@@ -200,8 +200,8 @@ class TextReader: NonCopyable
bool is_valid() const;
private:
- struct PropertyReader;
- friend struct PropertyReader;
+ class PropertyReader;
+ friend class PropertyReader;
void setup_exceptions();
static void on_libxml_error(void * arg, const char *msg, int severity,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]