diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-06-25 10:04:10 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-06-25 10:04:10 -0400 |
commit | a90575514adda68f7a742db0d27fc8953363e8bd (patch) | |
tree | 7d3b6bad50b30ebcb60506e6f089de376e2c5a12 /doc/examples/QuickStart_example2_fixed.cpp | |
parent | 67d79c675199cea1fa829f25de5e5bb5ab3cd7cc (diff) |
int main() is a standard main() prototype, and makes for cleaner examples
Diffstat (limited to 'doc/examples/QuickStart_example2_fixed.cpp')
-rw-r--r-- | doc/examples/QuickStart_example2_fixed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |