File: gcc-10

package info (click to toggle)
vg 1.30.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 267,848 kB
  • sloc: cpp: 446,974; ansic: 116,148; python: 22,805; cs: 17,888; javascript: 11,031; sh: 5,866; makefile: 4,039; java: 1,415; perl: 1,303; xml: 442; lisp: 242
file content (22 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 6bcc455c305d491d5fe3aaa7f0c9964da8c979f4 Mon Sep 17 00:00:00 2001
From: Adam Novak <anovak@soe.ucsc.edu>
Date: Tue, 26 Jan 2021 15:32:01 -0800
Subject: [PATCH] Make sure std::runtime_error is available

This should fix #3170, unless there are more problems on very new GCC.
---
 src/index_registry.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/index_registry.hpp b/src/index_registry.hpp
index 5bdecc2cb6..105d16ac35 100644
--- a/src/index_registry.hpp
+++ b/src/index_registry.hpp
@@ -7,6 +7,7 @@
 #include <functional>
 #include <string>
 #include <memory>
+#include <stdexcept>
 
 namespace vg {