[niepce] fwk: fix warning in test
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] fwk: fix warning in test
- Date: Sat, 12 Nov 2016 19:10:36 +0000 (UTC)
commit a4f333945ead6eff981ede079e663c8982829307
Author: Hubert Figuière <hub figuiere net>
Date: Sat Nov 12 14:06:49 2016 -0500
fwk: fix warning in test
src/fwk/base/t/testgeometry.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/fwk/base/t/testgeometry.cpp b/src/fwk/base/t/testgeometry.cpp
index 11ccdd3..2253fe9 100644
--- a/src/fwk/base/t/testgeometry.cpp
+++ b/src/fwk/base/t/testgeometry.cpp
@@ -41,10 +41,10 @@ int test_main( int, char *[] ) // note the name!
vtest.push_back("a b c d");
vtest.push_back("100 100 150");
std::for_each(vtest.begin(), vtest.end(),
- [] (const std::string & s) {
+ [] (const std::string & value) {
bool raised = false;
try {
- Rect r3(s);
+ Rect r3(value);
}
catch(std::bad_cast) {
raised = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]