]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/align.h
Correct a function pre/postcondition [PR102403].
[thirdparty/gcc.git] / gcc / align.h
index 67684513c7ed06ae46ffcbbb2a5b62182c8ff94f..f2a42b537f8d94f26a932a04b242de0498cbaa8d 100644 (file)
@@ -1,5 +1,5 @@
 /* Alignment-related classes.
-   Copyright (C) 2018-2019 Free Software Foundation, Inc.
+   Copyright (C) 2018-2021 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -45,8 +45,9 @@ struct align_flags_tuple
 /* Alignment flags is structure used as value of -align-* options.
    It's used in target-dependant code.  */
 
-struct align_flags
+class align_flags
 {
+public:
   /* Default constructor.  */
   align_flags (int log0 = 0, int maxskip0 = 0, int log1 = 0, int maxskip1 = 0)
   {