Make static
This commit is contained in:
@@ -49,7 +49,7 @@ class CollectionBackendTest : public ::testing::Test {
|
||||
backend_->Init(database_.get(), Song::Source_Collection, SCollection::kSongsTable, SCollection::kDirsTable, SCollection::kSubdirsTable, SCollection::kFtsTable);
|
||||
}
|
||||
|
||||
Song MakeDummySong(int directory_id) {
|
||||
static Song MakeDummySong(int directory_id) {
|
||||
// Returns a valid song with all the required fields set
|
||||
Song ret;
|
||||
ret.set_directory_id(directory_id);
|
||||
|
||||
@@ -154,7 +154,7 @@ TEST(ConcurrentRunTest, ConcurrentRunVoidFunction3Start) {
|
||||
|
||||
class A {
|
||||
public:
|
||||
void f(int* i) {
|
||||
static void f(int* i) {
|
||||
*i = *i + 1;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -30,7 +30,7 @@ class TestObjectDecorators : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public slots:
|
||||
void initStyleOption(QProgressBar *self, QStyleOptionProgressBar *opt);
|
||||
static void initStyleOption(QProgressBar *self, QStyleOptionProgressBar *opt);
|
||||
};
|
||||
|
||||
#endif // TESTOBJECTDECORATORS_H
|
||||
|
||||
Reference in New Issue
Block a user