File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ class SOLARFRAMEWORK_API PointCloud : public Lockable {
4141
4242 // /
4343 // / @brief PointCloud constructor.
44- // /
45- PointCloud () { m_id = 0 ; } ;
44+ // /
45+ PointCloud () = default ;
4646 PointCloud (const PointCloud& other): m_pointCloud(other.m_pointCloud), m_descriptorType(other.m_descriptorType), m_id(other.m_id) {};
4747 PointCloud& operator =(const PointCloud& /* other */ ) { return *this ; };
4848
@@ -123,8 +123,8 @@ class SOLARFRAMEWORK_API PointCloud : public Lockable {
123123 void serialize (Archive &ar, const unsigned int version);
124124
125125 std::map<uint32_t , SRef<SolAR::datastructure::CloudPoint>> m_pointCloud;
126- SolAR::datastructure::DescriptorType m_descriptorType;
127- uint32_t m_id;
126+ SolAR::datastructure::DescriptorType m_descriptorType{DescriptorType::AKAZE} ;
127+ uint32_t m_id{ 0 } ;
128128};
129129
130130DECLARESERIALIZE (PointCloud);
You can’t perform that action at this time.
0 commit comments