[Liblas-commits] hg: remove throw() declarations for methods. They
cause warnings...
liblas-commits at liblas.org
liblas-commits at liblas.org
Thu Jun 23 16:01:57 EDT 2011
details: http://hg.liblas.orghg/rev/fb769503d56b
changeset: 3008:fb769503d56b
user: Howard Butler <hobu.inc at gmail.com>
date: Thu Jun 23 15:01:51 2011 -0500
description:
remove throw() declarations for methods. They cause warnings because these functions throw exceptions
diffstat:
include/liblas/detail/opt_allocator.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r ccdb2052657f -r fb769503d56b include/liblas/detail/opt_allocator.hpp
--- a/include/liblas/detail/opt_allocator.hpp Thu Jun 23 14:56:54 2011 -0500
+++ b/include/liblas/detail/opt_allocator.hpp Thu Jun 23 15:01:51 2011 -0500
@@ -74,7 +74,7 @@
const_pointer address(const_reference r) const
{ return &r; }
- opt_allocator() throw()
+ opt_allocator()
{
if (m_initialized && m_file_p)
{
@@ -125,7 +125,7 @@
return s / sizeof(T);
}
- pointer allocate(size_type num, void *hint = 0) throw()
+ pointer allocate(size_type num, void *hint = 0)
{
pointer p;
size_t size = num * sizeof(T);
More information about the Liblas-commits
mailing list