summaryrefslogtreecommitdiff
path: root/textproc/aspell/patches/patch-ah
blob: b3a787d62a7b9c0a6c1be446691dea6b051ef0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ah,v 1.1 2005/10/27 00:18:51 rillig Exp $

The SunPro compiler does not like static inline template<>s.

--- common/string.hpp.orig	Mon Nov 29 18:50:05 2004
+++ common/string.hpp	Tue Oct 25 03:45:20 2005
@@ -492,7 +492,7 @@ namespace acommon {
 
 namespace std
 {
-  template<> static inline void swap(acommon::String & x, acommon::String & y) {return x.swap(y);}
+  template<> inline void swap(acommon::String & x, acommon::String & y) {return x.swap(y);}
 }
 
 #endif