]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* wide-int.h (generic_wide_int): Declare as class instead of struct.
authorGerald Pfeifer <gerald@pfeifer.com>
Sat, 16 Aug 2014 19:27:54 +0000 (19:27 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Sat, 16 Aug 2014 19:27:54 +0000 (19:27 +0000)
From-SVN: r214068

gcc/ChangeLog
gcc/wide-int.h

index 081bd12b4a52c7dbaf6cc7eb41c7f44447cc4fd6..16b28770cae7ff2727405bee24f4f7d26bae297d 100644 (file)
@@ -1,3 +1,7 @@
+2014-08-16  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * wide-int.h (generic_wide_int): Declare as class instead of struct.
+
 2014-08-16  John David Anglin  <danglin@gcc.gnu.org>
 
        PR target/61641
index f1081162436c418e74a92ffd1a5ec9ac3dd62467..2cbcbd2149454ad011d91675581225aa466e5db9 100644 (file)
@@ -282,7 +282,7 @@ along with GCC; see the file COPYING3.  If not see
     wi::int_traits <WI_UNARY_RESULT (T)>::get_binary_result (X, X); \
   HOST_WIDE_INT *VAL = RESULT.write_val ()
 
-template <typename T> struct generic_wide_int;
+template <typename T> class generic_wide_int;
 template <int N> struct fixed_wide_int_storage;
 class wide_int_storage;