diff libstdc++-v3/libsupc++/eh_alloc.cc @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
line wrap: on
line diff
--- a/libstdc++-v3/libsupc++/eh_alloc.cc	Thu Oct 25 07:37:49 2018 +0900
+++ b/libstdc++-v3/libsupc++/eh_alloc.cc	Thu Feb 13 11:34:05 2020 +0900
@@ -1,5 +1,5 @@
 // -*- C++ -*- Allocate exception objects.
-// Copyright (C) 2001-2018 Free Software Foundation, Inc.
+// Copyright (C) 2001-2020 Free Software Foundation, Inc.
 //
 // This file is part of GCC.
 //
@@ -86,7 +86,7 @@
     public:
       pool();
 
-      void *allocate (std::size_t);
+      _GLIBCXX_NODISCARD void *allocate (std::size_t);
       void free (void *);
 
       bool in_pool (void *);