]> git.sesse.net Git - cubemap/commitdiff
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 87fa71862995d90c0f2833631d12eff97bef81a9..ff07a7b2ebe629efe5951ad9f9b408bad5b669be 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 256946c25b41c36a748bb083e30cf10c08b4f3e5..efedc9b404a7f3c71e90fbb4fdb412e7ac58f5e5 100644 (file)
--- a/stream.h
+++ b/stream.h
@@ -8,7 +8,7 @@
 #include <string>
 #include <vector>
 
-class Client;
+struct Client;
 class MarkPool;
 class StreamProto;