From 110a28e1379796cc7ecea307aa8dc043124b3189 Mon Sep 17 00:00:00 2001 From: Kp Date: Fri, 20 Feb 2015 03:00:46 +0000 Subject: [PATCH] Use 'class' for partial_range_t declaration clang -Wmismatched-tags complains for: struct X; class X { ... }; Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/commit/68e2168377c3126360ff0fde344e8d486ee3588c#commitcomment-9814108 --- common/include/fwd-partial_range.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/include/fwd-partial_range.h b/common/include/fwd-partial_range.h index 1417f388f..dfdd5e1f1 100644 --- a/common/include/fwd-partial_range.h +++ b/common/include/fwd-partial_range.h @@ -9,7 +9,7 @@ #include "compiler-begin.h" template -struct partial_range_t; +class partial_range_t; template __attribute_warn_unused_result