mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2024-11-15 03:27:41 +01:00
Fix a warning
This commit is contained in:
parent
cd6cc2a3e2
commit
afd2de8379
@ -15,8 +15,9 @@ void Chart::setResolution(int resolution) {
|
||||
Chart::Chart(const std::string& dif, int level, int resolution) :
|
||||
dif_name(dif),
|
||||
level(level),
|
||||
resolution(resolution),
|
||||
Notes() {
|
||||
Notes(),
|
||||
resolution(resolution)
|
||||
{
|
||||
if (resolution <= 0) {
|
||||
throw std::invalid_argument("Can't set a resolution of " + std::to_string(resolution));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user