diff C++/Driver.cpp @ 189:cc1e5fe1ee2c

Update drivers to style and using instead of typedefs
author David Demelier <markand@malikania.fr>
date Tue, 26 Nov 2013 20:36:59 +0100
parents 4c746050969a
children 6c49e5e3ecc8
line wrap: on
line diff
--- a/C++/Driver.cpp	Tue Nov 26 20:32:43 2013 +0100
+++ b/C++/Driver.cpp	Tue Nov 26 20:36:59 2013 +0100
@@ -45,8 +45,7 @@
 	std::ostringstream oss;
 
 	// Out of bounds?
-	if (row < 0 || row >= countRows())
-	{
+	if (row < 0 || row >= countRows()) {
 		oss << "Invalid row index " << row;
 		oss << ", expected [0.." << countRows() << "]";
 
@@ -54,8 +53,7 @@
 	}
 
 	// Not found or bad column?
-	if (type(column) != wanted)
-	{
+	if (type(column) != wanted) {
 		oss << "Invalid or not found column `" << column << "'";
 
 		throw Error(oss.str());