X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInclude%2Fauto_ptr.hxx;h=3ed71b72a6a4a4699fa3f213a34052badd9cdf05;hb=24d14dd421cd0bd364a46f5e7e01416b00930994;hp=732129227d40756ed4ba663728e2f0352cdddc13;hpb=c90db01dc8d5462a3da22771ffa7c96f5ea31217;p=flightgear.git diff --git a/src/Include/auto_ptr.hxx b/src/Include/auto_ptr.hxx index 732129227..3ed71b72a 100644 --- a/src/Include/auto_ptr.hxx +++ b/src/Include/auto_ptr.hxx @@ -45,7 +45,7 @@ public: a.owns = 0; } -#ifdef _FG_MEMBER_TEMPLATES +#ifdef _SG_MEMBER_TEMPLATES template auto_ptr(const auto_ptr& a) : ptr(a.ptr), owns(a.owns) { a.owns = 0; @@ -62,7 +62,7 @@ public: } } -#ifdef _FG_MEMBER_TEMPLATES +#ifdef _SG_MEMBER_TEMPLATES template auto_ptr& operator = (const auto_ptr& a) { if (&a != this) { if (owns)