summaryrefslogtreecommitdiff
path: root/utils/filelib.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-09-17 01:08:45 +0100
committerChris Dyer <cdyer@cs.cmu.edu>2011-09-17 01:08:45 +0100
commita28c48d07df4e426a875f5381c80ebf4fbbd1de2 (patch)
tree96368878b6ea59dd235517fd712e4eff6fd6214b /utils/filelib.h
parentb70a0be1c34bd177e8ac7c53cb466f226008cc52 (diff)
enable ramdisk scratch for per-sentence-grammars
Diffstat (limited to 'utils/filelib.h')
-rw-r--r--utils/filelib.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/filelib.h b/utils/filelib.h
index a8622246..bb6e7415 100644
--- a/utils/filelib.h
+++ b/utils/filelib.h
@@ -113,9 +113,6 @@ inline void CopyFile(std::string const& inf,std::ostream &out) {
CopyFile(*r,out);
}
-inline void CopyFile(std::string const& inf,std::string const& outf) {
- WriteFile w(outf);
- CopyFile(inf,*w);
-}
+void CopyFile(std::string const& inf,std::string const& outf);
#endif