diff options
author | Kenneth Heafield <github@kheafield.com> | 2013-01-17 15:58:58 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2013-01-17 15:58:58 +0400 |
commit | a7731ce432347981bcc42962e07275a310972bbf (patch) | |
tree | 852bb4a0a7065a765351cd1e963968cac8fc4a6f /util/scoped.hh | |
parent | 8af1d6a017bfebe134ade38780648771fab4ae69 (diff) |
KenLM 014bced6
Diffstat (limited to 'util/scoped.hh')
-rw-r--r-- | util/scoped.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/scoped.hh b/util/scoped.hh index d62c6df16..37bc4744f 100644 --- a/util/scoped.hh +++ b/util/scoped.hh @@ -23,7 +23,7 @@ class scoped_malloc { void call_realloc(std::size_t to) { void *ret; - UTIL_THROW_IF(!(ret = std::realloc(p_, to)) && to, util::ErrnoException, "realloc to " << to << " bytes failed."); + UTIL_THROW_IF(!(ret = std::realloc(p_, to)) && to, ErrnoException, "realloc to " << to << " bytes failed."); p_ = ret; } |