From 7be806728c5ac342b49928662138611769a18ca4 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 5 Aug 2013 01:19:47 -0700 Subject: gras: removed extra slashes --- lib/jit_factory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/jit_factory.cpp b/lib/jit_factory.cpp index 331e87a..596fae8 100644 --- a/lib/jit_factory.cpp +++ b/lib/jit_factory.cpp @@ -210,8 +210,8 @@ static llvm::Module *call_clang_api(const std::string &source_file, const std::v void gras::jit_factory(const std::string &source, const std::vector &flags_) { //write source to tmp file - char source_file[L_tmpnam];\ - if (std::tmpnam(source_file) == NULL) throw std::runtime_error("GRAS compiler: tmp source file path failed");\ + char source_file[L_tmpnam]; + if (std::tmpnam(source_file) == NULL) throw std::runtime_error("GRAS compiler: tmp source file path failed"); std::ofstream source_fstream(source_file); source_fstream << source; source_fstream.close(); -- cgit