mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-28 06:26:12 -04:00
18 lines
748 B
C++
18 lines
748 B
C++
$NetBSD: patch-src_foreign_vigra_vigra_cachedfileimage.hxx,v 1.2 2014/12/27 02:46:41 dholland Exp $
|
|
|
|
--- src/foreign/vigra/vigra/cachedfileimage.hxx.orig 2013-06-25 21:58:48.000000000 +0000
|
|
+++ src/foreign/vigra/vigra/cachedfileimage.hxx
|
|
@@ -554,11 +554,11 @@ class NotifyingDirectionSelector;
|
|
template <class T, class Notify>
|
|
class NotifyingDirectionSelector<UnstridedArrayTag, T, Notify>
|
|
{
|
|
-#ifdef __GNUC__
|
|
+#if defined(__GNUC__) && !defined(__clang__)
|
|
friend class Notify::self_type;
|
|
#else
|
|
friend typename Notify::self_type;
|
|
#endif
|
|
protected:
|
|
NotifyingDirectionSelector(T base = 0) : current_(base), notify_(NULL) {}
|
|
NotifyingDirectionSelector(NotifyingDirectionSelector const & rhs) : current_(rhs.current_), notify_(NULL) {}
|