diff --git a/GRTAGS b/GRTAGS index c68d42a..70edd23 100644 Binary files a/GRTAGS and b/GRTAGS differ diff --git a/src/GUI/Piano.cpp b/src/GUI/Piano.cpp index 18777a2..784a5e6 100644 --- a/src/GUI/Piano.cpp +++ b/src/GUI/Piano.cpp @@ -13,12 +13,12 @@ Piano::Piano() /// Adauga clape albe for (int i = 0; i < 14; i++) { - piano.push_back(std::make_shared(new WhiteKey(tKeyWhite, tKeyWhitePressed,i,std::to_string(i)+".ogg"))); + piano.push_back(std::shared_ptr(new WhiteKey(tKeyWhite, tKeyWhitePressed,i,std::to_string(i)+".ogg"))); } /// Adauga clape negre for (int i = 0; i < 10; i++) { - piano.push_back(std::make_shared(new BlackKey(tKeyBlack, tKeyBlackPressed,14+i,std::to_string(14+i) + ".ogg"))); + piano.push_back(std::shared_ptr(new BlackKey(tKeyBlack, tKeyBlackPressed,14+i,std::to_string(14+i) + ".ogg"))); } setPositions();