Fix incorrect struct/class in forward declares (found by Clang).
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 13 Apr 2013 20:12:53 +0000 (22:12 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 13 Apr 2013 20:12:53 +0000 (22:12 +0200)
client.h
stream.h

index 87fa718..ff07a7b 100644 (file)
--- a/client.h
+++ b/client.h
@@ -7,7 +7,7 @@
 #include <string>
 
 class ClientProto;
-class Stream;
+struct Stream;
 
 // Digested statistics for writing to logs etc.
 struct ClientStats {
index 256946c..efedc9b 100644 (file)
--- a/stream.h
+++ b/stream.h
@@ -8,7 +8,7 @@
 #include <string>
 #include <vector>
 
-class Client;
+struct Client;
 class MarkPool;
 class StreamProto;