Rewrite constructor
The existing code looks like it's attempting to call another constructor, and seems to be creating a temporary object, which I don't think is the intention of the code.
This commit is contained in:
@@ -192,10 +192,7 @@ namespace StepParity {
|
|||||||
int rowIndex = 0;
|
int rowIndex = 0;
|
||||||
int columnCount = 0;
|
int columnCount = 0;
|
||||||
int noteCount = 0;
|
int noteCount = 0;
|
||||||
Row()
|
Row() : Row(0) {};
|
||||||
{
|
|
||||||
Row(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
Row(int _columnCount)
|
Row(int _columnCount)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user