From a90575514adda68f7a742db0d27fc8953363e8bd Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 25 Jun 2010 10:04:10 -0400 Subject: int main() is a standard main() prototype, and makes for cleaner examples --- doc/examples/QuickStart_example2_fixed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples/QuickStart_example2_fixed.cpp') diff --git a/doc/examples/QuickStart_example2_fixed.cpp b/doc/examples/QuickStart_example2_fixed.cpp index 9fcddcdd6..c30f47734 100644 --- a/doc/examples/QuickStart_example2_fixed.cpp +++ b/doc/examples/QuickStart_example2_fixed.cpp @@ -4,7 +4,7 @@ using Eigen::Matrix3d; using Eigen::Vector3d; -int main(int, char *[]) +int main() { Matrix3d m; for (int row = 0; row < 3; ++row) -- cgit v1.2.3