aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-01-22 01:26:03 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-01-22 01:26:03 +0000
commit786abaefa90e3cdc198cd37ff1430f910d7a99ea (patch)
treefe50de86bf15c949ce32051ad7e4c66de2b1d110 /doc
parent66704a9a841d861bd97d339237915296cf6f5e3b (diff)
downloadpaludis-786abaefa90e3cdc198cd37ff1430f910d7a99ea.tar.gz
paludis-786abaefa90e3cdc198cd37ff1430f910d7a99ea.tar.xz
Fix GCC 4.3 build, thanks to Almathea.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cplusplus/examples/example_command_line.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/cplusplus/examples/example_command_line.cc b/doc/api/cplusplus/examples/example_command_line.cc
index ad8b8cd09..a1c9f2d5d 100644
--- a/doc/api/cplusplus/examples/example_command_line.cc
+++ b/doc/api/cplusplus/examples/example_command_line.cc
@@ -63,7 +63,7 @@ examples::show_help_and_exit(const char * const argv[])
cout << endl;
cout << *CommandLine::get_instance();
- exit(EXIT_SUCCESS);
+ std::exit(EXIT_SUCCESS);
}
void
@@ -75,7 +75,7 @@ examples::show_version_and_exit()
cout << " svn " << PALUDIS_SUBVERSION_REVISION;
cout << endl;
- exit(EXIT_SUCCESS);
+ std::exit(EXIT_SUCCESS);
}
void