aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2016-12-08 11:12:19 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-14 08:33:21 -0800
commitfa4b58b73d029a074e4d7760d2978d6059c08174 (patch)
tree424faee674286c17cd0f07013beb57228c46256a /ruby
parentfeb3945a139c6b29f1cba3b30925c76a8a339a3d (diff)
downloadpaludis-fa4b58b73d029a074e4d7760d2978d6059c08174.tar.gz
paludis-fa4b58b73d029a074e4d7760d2978d6059c08174.tar.xz
ruby: Fix mismatched tag (NFC)
/home/marv/devel/paludis/ruby/dep_spec.cc:169:5: warning: 'WrappedSpec' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] class WrappedSpec : ^ /home/marv/devel/paludis/ruby/dep_spec.cc:137:25: note: did you mean class here? template <typename> struct WrappedSpec; ^~~~~~ class 1 warning generated. Change-Id: I0d56e26c7375e5ec6684a1ed8a6b21eeba649999
Diffstat (limited to 'ruby')
-rw-r--r--ruby/dep_spec.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/dep_spec.cc b/ruby/dep_spec.cc
index 01f5d63e9..77d0886ca 100644
--- a/ruby/dep_spec.cc
+++ b/ruby/dep_spec.cc
@@ -134,7 +134,7 @@ namespace
}
struct WrappedSpecBase;
- template <typename> struct WrappedSpec;
+ template <typename> class WrappedSpec;
struct WrappedSpecBase :
virtual DeclareAbstractAcceptMethods<WrappedSpecBase, MakeTypeList<