summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index c532d0b0..06ddaf36 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -11,6 +11,7 @@
#include "parse.h"
#include "tapsets.h"
#include "session.h"
+#include "util.h"
extern "C" {
#include <sys/utsname.h>
@@ -30,17 +31,6 @@ extern "C" {
using namespace std;
-template <typename OUT, typename IN> inline OUT
-lex_cast(IN const & in)
-{
- stringstream ss;
- OUT out;
- if (!(ss << in && ss >> out))
- throw runtime_error("bad lexical cast");
- return out;
-}
-
-
// ------------------------------------------------------------------------