changeset 355:1752b1ef8bac

[project @ 1994-02-11 01:08:48 by jwe]
author jwe
date Fri, 11 Feb 1994 01:13:22 +0000
parents 1a75146ef3bb
children 6675e5cc11d8
files liboctave/Array.cc liboctave/Array.h src/SLStack.cc src/SLStack.h src/Stack.h
diffstat 5 files changed, 10 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/Array.cc	Fri Feb 11 00:42:30 1994 +0000
+++ b/liboctave/Array.cc	Fri Feb 11 01:13:22 1994 +0000
@@ -28,7 +28,7 @@
 #include <assert.h>
 
 #if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES)
-#pragma implementation "Array.h"
+#pragma implementation
 #endif
 
 #include "Array.h"
--- a/liboctave/Array.h	Fri Feb 11 00:42:30 1994 +0000
+++ b/liboctave/Array.h	Fri Feb 11 01:13:22 1994 +0000
@@ -236,9 +236,10 @@
   {
   public:
 
-    Proxy (DiagArray<T> *ref, int r, int c) : object (ref), i (r), j (c) { }
+    inline Proxy (DiagArray<T> *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);
--- a/src/SLStack.cc	Fri Feb 11 00:42:30 1994 +0000
+++ b/src/SLStack.cc	Fri Feb 11 01:13:22 1994 +0000
@@ -26,7 +26,7 @@
 #endif
 
 #if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES)
-#pragma implementation "SLStack.h"
+#pragma implementation
 #endif
 
 #include "SLStack.h"
--- a/src/SLStack.h	Fri Feb 11 00:42:30 1994 +0000
+++ b/src/SLStack.h	Fri Feb 11 01:13:22 1994 +0000
@@ -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 T>
 class SLStack : public Stack<T>
 {
--- a/src/Stack.h	Fri Feb 11 00:42:30 1994 +0000
+++ b/src/Stack.h	Fri Feb 11 01:13:22 1994 +0000
@@ -21,7 +21,7 @@
 #define _Stack_h 1
 
 #if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES)
-#pragma interface
+// #pragma interface
 #endif
 
 template <class T>