diff liboctave/idx-vector.cc @ 8319:c374691576f6

Fix for MSVC compilation
author Michael Goffioul <michael.goffioul@gmail.com>
date Wed, 12 Nov 2008 21:36:39 +0000
parents f7d44b6a74df
children 9238637cb81c
line wrap: on
line diff
--- a/liboctave/idx-vector.cc	Wed Nov 12 15:45:00 2008 +0100
+++ b/liboctave/idx-vector.cc	Wed Nov 12 21:36:39 2008 +0000
@@ -551,8 +551,8 @@
 
 // Instantiate the octave_int constructors we want.
 #define INSTANTIATE_SCALAR_VECTOR_REP_CONST(T) \
-  template idx_vector::idx_scalar_rep::idx_scalar_rep (T); \
-  template idx_vector::idx_vector_rep::idx_vector_rep (const Array<T>&);
+  template OCTAVE_API idx_vector::idx_scalar_rep::idx_scalar_rep (T); \
+  template OCTAVE_API idx_vector::idx_vector_rep::idx_vector_rep (const Array<T>&);
 
 INSTANTIATE_SCALAR_VECTOR_REP_CONST (float)
 INSTANTIATE_SCALAR_VECTOR_REP_CONST (double)