MantisBT - Open CASCADE
View Issue Details
0028796Open CASCADE[OCCT] OCCT:Codingpublic2017-05-29 12:422017-09-29 16:25
kgv 
bugmaster 
normaltrivial 
closedfixed 
WindowsVC++ 201364 bit
[OCCT] 7.2.0 
[OCCT] 7.2.0[OCCT] 7.2.0 
Not needed
0028796: Coding Rules - fix declaration of Move constructor in NCollection_Array1
The Move constructor in NCollection_Array1 is declared with const argument:
  NCollection_Array1 (const NCollection_Array1&& theOther)

producing the following compilation error:
c:\occt\src\NCollection\NCollection_Array1.hxx:201: error: C3490: 'myUpperBound' cannot be modified because 
it is being accessed through a const object
N/A
No tags attached.
child of 0028470closed bugmaster Foundation Classes, NCollection_Array1 - add Resize() method for re-allocating array with new limits 
Issue History
2017-05-29 12:42kgvNew Issue
2017-05-29 12:42kgvAssigned To => kgv
2017-05-29 12:51gitNote Added: 0066714
2017-05-29 12:52kgvNote Added: 0066715
2017-05-29 12:52kgvAssigned Tokgv => bugmaster
2017-05-29 12:52kgvStatusnew => resolved
2017-05-29 12:52kgvStatusresolved => reviewed
2017-05-29 12:52kgvRelationship addedchild of 0028470
2017-05-29 13:17mkvAssigned Tobugmaster => mkv
2017-05-30 16:03mkvNote Added: 0066886
2017-05-30 16:04mkvNote Added: 0066887
2017-05-30 16:04mkvAssigned Tomkv => bugmaster
2017-05-30 16:04mkvStatusreviewed => tested
2017-05-30 16:04mkvTest case number => Not needed
2017-06-02 10:28bugmasterChangeset attached => occt master 3ae5dc81
2017-06-02 10:28bugmasterStatustested => verified
2017-06-02 10:28bugmasterResolutionopen => fixed
2017-06-02 10:45gitNote Added: 0066995
2017-09-29 16:18aivFixed in Version => 7.2.0
2017-09-29 16:25aivStatusverified => closed

Notes
(0066714)
git   
2017-05-29 12:51   
Branch CR28796 has been created by kgv.

SHA-1: ff7c7841d7492b2b4f67c9308dcbc4516097c8d0


Detailed log of new commits:

Author: kgv
Date: Mon May 29 12:46:59 2017 +0300

    0028796: Coding Rules - fix declaration of Move constructor in NCollection_Array1
(0066715)
kgv   
2017-05-29 12:52   
Please check compilation, regression testing is not needed.
(0066886)
mkv   
2017-05-30 16:03   
Dear BugMaster,
Branch CR28796 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms on Release mode.
SHA-1: ff7c7841d7492b2b4f67c9308dcbc4516097c8d0

Number of compiler warnings:

occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

products component :
Linux: 64 (64 on master)
Windows: 0 (0 on master)
MacOS : 1197
(0066887)
mkv   
2017-05-30 16:04   
Dear BugMaster,
Branch CR28796 is TESTED.
(0066995)
git   
2017-06-02 10:45   
Branch CR28796 has been deleted by inv.

SHA-1: ff7c7841d7492b2b4f67c9308dcbc4516097c8d0