From aa00436b6854e311311a6a2a3dd5cc1b8f2d3601 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Tue, 2 Nov 2004 05:14:24 +0000 Subject: [PATCH] fix main return type [SVN r26076] --- scoped_ptr.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scoped_ptr.htm b/scoped_ptr.htm index 881c402..f3a0155 100644 --- a/scoped_ptr.htm +++ b/scoped_ptr.htm @@ -115,7 +115,7 @@ class MyClass { int add_one() { return ++*ptr; } }; -void main() +int main() { boost::scoped_ptr<Shoe> x(new Shoe); MyClass my_instance;