Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Fix build issues in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDuquesnoy committed Sep 23, 2017
1 parent 20c87aa commit 234592c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ using namespace MellowPlayer::Application;
using namespace MellowPlayer::Application::Tests;


void FakeUserScript::import(const QString& path)
bool FakeUserScript::import(const QString& path)
{
load(path);
return load(path);
}

void FakeUserScript::load(const QString& path)
bool FakeUserScript::load(const QString& path)
{
UserScriptBase::path_ = path;
Application::UserScriptBase::code_ = FAKE_USER_SCRIPT_CODE;
return true;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ namespace MellowPlayer::Application::Tests
class FakeUserScript: public UserScriptBase
{
public:
void import(const QString& path) override;

void load(const QString& path) override;
bool import(const QString& path) override;
bool load(const QString& path) override;
};
}

0 comments on commit 234592c

Please sign in to comment.