]> sigrok.org Git - pulseview.git/blobdiff - pv/devices/sessionfile.cpp
Don't try to store a reference to a shared pointer.
[pulseview.git] / pv / devices / sessionfile.cpp
index 7bcabee036cef366eb59d6cd3d5e4731ae1e9bfe..d45b9fa492832bc147c7ea7aadcc8e06c446d263 100644 (file)
@@ -27,7 +27,7 @@
 namespace pv {
 namespace devices {
 
-SessionFile::SessionFile(const std::shared_ptr<sigrok::Context> &context,
+SessionFile::SessionFile(const std::shared_ptr<sigrok::Context> context,
        const std::string &file_name) :
        File(file_name),
        context_(context) {