]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/rust/ast/rust-ast.h
gccrs: ast: Add explicit default copy constructor
[gcc.git] / gcc / rust / ast / rust-ast.h
index a4caee7237df8dcacb3819c78dddff2377481ea2..e097a21d1cf3c8031db6f80de269f730149dff46 100644 (file)
@@ -39,6 +39,11 @@ public:
     : ident (ident), node_id (Analysis::Mappings::get ()->get_next_node_id ())
   {}
 
+  Identifier (const Identifier &) = default;
+  Identifier (Identifier &&) = default;
+  Identifier &operator= (const Identifier &) = default;
+  Identifier &operator= (Identifier &&) = default;
+
   NodeId get_node_id () const { return node_id; }
   const std::string &as_string () const { return ident; }
 
This page took 0.030099 seconds and 5 git commands to generate.