From 9aaf724ca4af53809edd1b26449075f8b20a3d11 Mon Sep 17 00:00:00 2001 From: Emmankoko Date: Sun, 22 Oct 2023 18:29:23 +0000 Subject: [PATCH] clear() for gcc --- source/stdcpp/vector.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/stdcpp/vector.d b/source/stdcpp/vector.d index 977b7a9..d3404ee 100644 --- a/source/stdcpp/vector.d +++ b/source/stdcpp/vector.d @@ -804,6 +804,7 @@ extern(D): extern(C++) bool empty() const @safe @nogc; + extern(C++) void clear(); } }