diff options
-rw-r--r-- | Carpet/CarpetLib/src/vect.hh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Carpet/CarpetLib/src/vect.hh b/Carpet/CarpetLib/src/vect.hh index 3db865a08..47ee1e214 100644 --- a/Carpet/CarpetLib/src/vect.hh +++ b/Carpet/CarpetLib/src/vect.hh @@ -792,17 +792,17 @@ vect (const T x, const T y, const T z, const T t) { // These functions are declared, but never defined, so that using them // will result in a linker error -template<> vect<int,0>::vect (const int x, const int y); -template<> vect<int,1>::vect (const int x, const int y); +template<> inline vect<int,0>::vect (const int x, const int y) { assert(0); } +template<> inline vect<int,1>::vect (const int x, const int y) { assert(0); } -template<> vect<int,0>::vect (const int x, const int y, const int z); -template<> vect<int,1>::vect (const int x, const int y, const int z); -template<> vect<int,2>::vect (const int x, const int y, const int z); +template<> inline vect<int,0>::vect (const int x, const int y, const int z) { assert(0); } +template<> inline vect<int,1>::vect (const int x, const int y, const int z) { assert(0); } +template<> inline vect<int,2>::vect (const int x, const int y, const int z) { assert(0); } -template<> vect<int,0>::vect (const int x, const int y, const int z, const int t); -template<> vect<int,1>::vect (const int x, const int y, const int z, const int t); -template<> vect<int,2>::vect (const int x, const int y, const int z, const int t); -template<> vect<int,3>::vect (const int x, const int y, const int z, const int t); +template<> inline vect<int,0>::vect (const int x, const int y, const int z, const int t) { assert(0); } +template<> inline vect<int,1>::vect (const int x, const int y, const int z, const int t) { assert(0); } +template<> inline vect<int,2>::vect (const int x, const int y, const int z, const int t) { assert(0); } +template<> inline vect<int,3>::vect (const int x, const int y, const int z, const int t) { assert(0); } |