/* Filename-seen cache for the GNU debugger, GDB.
- Copyright (C) 1986-2017 Free Software Foundation, Inc.
+ Copyright (C) 1986-2019 Free Software Foundation, Inc.
This file is part of GDB.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef FILENAME_SEEN_CACHE_H
+#define FILENAME_SEEN_CACHE_H
+
#include "defs.h"
#include "common/function-view.h"
filename_seen_cache ();
~filename_seen_cache ();
- /* Disable copy. */
- filename_seen_cache (const filename_seen_cache &) = delete;
- void operator= (const filename_seen_cache &) = delete;
+ DISABLE_COPY_AND_ASSIGN (filename_seen_cache);
/* Empty the cache, but do not delete it. */
void clear ();
/* Table of files seen so far. */
htab_t m_tab;
};
+
+#endif /* FILENAME_SEEN_CACHE_H */