]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cp/semantics.c
PR c++/61339 - add mismatch between struct and class [-Wmismatched-tags] to non-bugs
[thirdparty/gcc.git] / gcc / cp / semantics.c
index cd24490bc6b7a7e366f45395d5d7d00f78b1dc9b..ceb6c6417506bd314bc7a4305bbe118ab033c80a 100644 (file)
@@ -4380,8 +4380,9 @@ expand_or_defer_fn (tree fn)
     }
 }
 
-struct nrv_data
+class nrv_data
 {
+public:
   nrv_data () : visited (37) {}
 
   tree var;