[gnote] Fix missing return in tests
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix missing return in tests
- Date: Sun, 28 Jun 2020 10:54:51 +0000 (UTC)
commit 5a4a00091e5d2c9b6a0e24f169564ec04cdf1b33
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Jun 28 13:54:33 2020 +0300
Fix missing return in tests
src/test/testtagmanager.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/test/testtagmanager.cpp b/src/test/testtagmanager.cpp
index 04886cca..7b5d0e3d 100644
--- a/src/test/testtagmanager.cpp
+++ b/src/test/testtagmanager.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2014,2017-2019 Aurimas Cernius
+ * Copyright (C) 2014,2017-2020 Aurimas Cernius
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -68,6 +68,7 @@ std::vector<gnote::Tag::Ptr> TagManager::all_tags() const
for(auto iter = m_tags.begin(); iter != m_tags.end(); ++iter) {
list.push_back(iter->second);
}
+ return list;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]