# HG changeset patch # User jwe # Date 760929202 0 # Node ID 1752b1ef8bac2bbf6795b6de8b139b06e97a28c5 # Parent 1a75146ef3bbda7d448c2b388963e9302c681345 [project @ 1994-02-11 01:08:48 by jwe] diff --git a/liboctave/Array.cc b/liboctave/Array.cc --- a/liboctave/Array.cc +++ b/liboctave/Array.cc @@ -28,7 +28,7 @@ #include #if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES) -#pragma implementation "Array.h" +#pragma implementation #endif #include "Array.h" diff --git a/liboctave/Array.h b/liboctave/Array.h --- a/liboctave/Array.h +++ b/liboctave/Array.h @@ -236,9 +236,10 @@ { public: - Proxy (DiagArray *ref, int r, int c) : object (ref), i (r), j (c) { } + inline Proxy (DiagArray *ref, int r, int c) + : object (ref), i (r), j (c) { } - const Proxy& operator = (const T& val) const + inline const Proxy& operator = (const T& val) const { if (i == j) { @@ -252,7 +253,7 @@ return *this; } - operator T () const + inline operator T () const { if (object) return object->get (i); diff --git a/src/SLStack.cc b/src/SLStack.cc --- a/src/SLStack.cc +++ b/src/SLStack.cc @@ -26,7 +26,7 @@ #endif #if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES) -#pragma implementation "SLStack.h" +#pragma implementation #endif #include "SLStack.h" diff --git a/src/SLStack.h b/src/SLStack.h --- a/src/SLStack.h +++ b/src/SLStack.h @@ -19,13 +19,13 @@ #if !defined (_SLStack_h) #define _SLStack_h 1 -#include "SLList.h" -#include "Stack.h" - #if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES) #pragma interface #endif +#include "SLList.h" +#include "Stack.h" + template class SLStack : public Stack { diff --git a/src/Stack.h b/src/Stack.h --- a/src/Stack.h +++ b/src/Stack.h @@ -21,7 +21,7 @@ #define _Stack_h 1 #if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES) -#pragma interface +// #pragma interface #endif template