X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Fhardwaredevice.cpp;h=0ed5c4ae3ee4cb5f6339505c9e640c03ab3fe69c;hp=318ce1cab26fa61330563fbdd075a5ab510193be;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=2ad82c2e40b6865481733913a2c32735602f63c4 diff --git a/pv/devices/hardwaredevice.cpp b/pv/devices/hardwaredevice.cpp index 318ce1ca..0ed5c4ae 100644 --- a/pv/devices/hardwaredevice.cpp +++ b/pv/devices/hardwaredevice.cpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include @@ -41,8 +40,8 @@ using sigrok::HardwareDevice; namespace pv { namespace devices { -HardwareDevice::HardwareDevice(const std::shared_ptr &context, - std::shared_ptr device) : +HardwareDevice::HardwareDevice(const shared_ptr &context, + shared_ptr device) : context_(context), device_open_(false) {