]> sigrok.org Git - libsigrok.git/blobdiff - bindings/cxx/include/libsigrok/libsigrok.hpp
bindings: update for sr_output_options_{get,free} API change.
[libsigrok.git] / bindings / cxx / include / libsigrok / libsigrok.hpp
index fff92b63e5e5a9a388710730f37a402da7a6c432..ad683218a384820766be27d5ee6e74b9affc199d 100644 (file)
@@ -785,10 +785,10 @@ public:
        vector<Glib::VariantBase> get_values();
 protected:
        Option(const struct sr_option *structure,
-               shared_ptr<const struct sr_option> structure_array);
+               shared_ptr<const struct sr_option *> structure_array);
        ~Option();
        const struct sr_option *structure;
-       shared_ptr<const struct sr_option> structure_array;
+       shared_ptr<const struct sr_option *> structure_array;
        /** Deleter needed to allow shared_ptr use with protected destructor. */
        class Deleter
        {