mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-31 21:24:40 +02:00
fix main return type
[SVN r26076]
This commit is contained in:
@@ -115,7 +115,7 @@ class MyClass {
|
|||||||
int add_one() { return ++*ptr; }
|
int add_one() { return ++*ptr; }
|
||||||
};
|
};
|
||||||
|
|
||||||
void main()
|
int main()
|
||||||
{
|
{
|
||||||
boost::scoped_ptr<Shoe> x(new Shoe);
|
boost::scoped_ptr<Shoe> x(new Shoe);
|
||||||
MyClass my_instance;
|
MyClass my_instance;
|
||||||
|
Reference in New Issue
Block a user