]> sigrok.org Git - pulseview.git/blobdiff - pv/data/analogsnapshot.h
Use 'struct' for test cases defined with BOOST_AUTO_TEST_CASE.
[pulseview.git] / pv / data / analogsnapshot.h
index b60c2ce72580c4fdf51d84940f0e836216759bae..9f0711f2d3e20ae3dde93df9562a7c56c9e65e7f 100644 (file)
@@ -27,7 +27,7 @@
 #include <vector>
 
 namespace AnalogSnapshotTest {
 #include <vector>
 
 namespace AnalogSnapshotTest {
-class Basic;
+struct Basic;
 }
 
 namespace pv {
 }
 
 namespace pv {
@@ -87,7 +87,7 @@ private:
 private:
        struct Envelope _envelope_levels[ScaleStepCount];
 
 private:
        struct Envelope _envelope_levels[ScaleStepCount];
 
-       friend class AnalogSnapshotTest::Basic;
+       friend struct AnalogSnapshotTest::Basic;
 };
 
 } // namespace data
 };
 
 } // namespace data