diff options
author | John Wiegley <johnw@newartisans.com> | 2011-08-18 14:48:38 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-08-18 14:48:38 -0400 |
commit | f0791bbd7297e737d9e13d0b0bb21473b173b2a7 (patch) | |
tree | 95e2b7806dce0936edd69eca780d180d2ce3195d /src/error.cc | |
parent | add6f6ca2a711e3337f83bd15be5a03e22842591 (diff) | |
download | fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.gz fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.bz2 fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.zip |
Cleanup whitespace
Diffstat (limited to 'src/error.cc')
-rw-r--r-- | src/error.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.cc b/src/error.cc index 02413ef6..542d12b9 100644 --- a/src/error.cc +++ b/src/error.cc @@ -93,10 +93,10 @@ string source_context(const path& file, assert(len < 8192); std::ostringstream out; - + ifstream in(file); in.seekg(pos, std::ios::beg); - + scoped_array<char> buf(new char[static_cast<std::size_t>(len) + 1]); in.read(buf.get(), static_cast<std::streamsize>(len)); assert(in.gcount() == static_cast<std::streamsize>(len)); |