[rtems-tools commit] rtemstoolkit: Remove throw from file:: image destructor.
Chris Johns
chrisj at rtems.org
Thu Sep 14 02:22:31 UTC 2017
Module: rtems-tools
Branch: master
Commit: 8e64821c9ffb58970a69af6f50a737456f7ae348
Changeset: http://git.rtems.org/rtems-tools/commit/?id=8e64821c9ffb58970a69af6f50a737456f7ae348
Author: Chris Johns <chrisj at rtems.org>
Date: Thu Sep 14 12:21:08 2017 +1000
rtemstoolkit: Remove throw from file::image destructor.
---
rtemstoolkit/rld-files.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rtemstoolkit/rld-files.cpp b/rtemstoolkit/rld-files.cpp
index 6a276ea..c783f54 100644
--- a/rtemstoolkit/rld-files.cpp
+++ b/rtemstoolkit/rld-files.cpp
@@ -253,7 +253,7 @@ namespace rld
image::~image ()
{
if (references_)
- throw rld_error_at ("references when destructing image");
+ std::cerr << "rtl:file:image: references when destructing";
if (fd_ >= 0)
::close (fd_);
}
More information about the vc
mailing list