From 469855f7f74e2a0ef10de21cc1bdd8de0aea845f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 4 Feb 2018 15:21:58 +0000 Subject: [PATCH] Add missing variables to Partition class copy constructor. --- src/core/partition.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/partition.cpp b/src/core/partition.cpp index 5b7c3a0..7ca7d70 100644 --- a/src/core/partition.cpp +++ b/src/core/partition.cpp @@ -99,6 +99,8 @@ Partition::Partition(const Partition& other, PartitionNode* parent) : m_FirstSector(other.m_FirstSector), m_LastSector(other.m_LastSector), m_DevicePath(other.m_DevicePath), + m_Label(other.m_Label), + m_UUID(other.m_UUID), m_MountPoint(other.m_MountPoint), m_AvailableFlags(other.m_AvailableFlags), m_ActiveFlags(other.m_ActiveFlags), @@ -136,6 +138,8 @@ Partition& Partition::operator=(const Partition& other) m_FirstSector = other.m_FirstSector; m_LastSector = other.m_LastSector; m_DevicePath = other.m_DevicePath; + m_Label = other.m_Label; + m_UUID = other.m_UUID; m_PartitionPath = other.m_PartitionPath; m_MountPoint = other.m_MountPoint; m_AvailableFlags = other.m_AvailableFlags;