OSDN Git Service

Fix trivial warning in jpegutil.h.
authorDavid Benjamin <davidben@google.com>
Tue, 18 Oct 2016 23:52:40 +0000 (19:52 -0400)
committerDavid Benjamin <davidben@google.com>
Tue, 18 Oct 2016 23:55:32 +0000 (19:55 -0400)
This flew by in the build output. There's a bunch of other warnings, but
this one's easy. Forward declarations should match the actual definition
in struct-vs-class-ness.

Change-Id: I189cabf7846fc90f0597f16509800340dd7956e5
Test: mma

jni/jpegutil.h

index c5f196d..720b9de 100644 (file)
@@ -29,7 +29,7 @@
 namespace jpegutil {
 
 class Transform;
-class Plane;
+struct Plane;
 
 inline int sgn(int val) { return (0 < val) - (val < 0); }