[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN/internal slice_error.hh
From: |
Edward Rosten |
Subject: |
[Toon-members] TooN/internal slice_error.hh |
Date: |
Fri, 27 Mar 2009 14:01:41 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Edward Rosten <edrosten> 09/03/27 14:01:41
Modified files:
internal : slice_error.hh
Log message:
internal/size_mismatch.hh
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/internal/slice_error.hh?cvsroot=toon&r1=1.5&r2=1.6
Patches:
Index: slice_error.hh
===================================================================
RCS file: /cvsroot/toon/TooN/internal/slice_error.hh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- slice_error.hh 11 Feb 2009 18:04:25 -0000 1.5
+++ slice_error.hh 27 Mar 2009 14:01:41 -0000 1.6
@@ -25,8 +25,8 @@
{
#ifdef TOON_TEST_INTERNALS
throw Internal::SliceError();
- #else
- std::cerr << "Toon slice out of range
(static slice, synamic vector)" << std::endl;
+ #elif !defined TOON_NDEBUG_SLICE
+ std::cerr << "TooN slice out of range"
<< std::endl;
std::abort();
#endif
}
@@ -39,8 +39,8 @@
{
#ifdef TOON_TEST_INTERNALS
throw Internal::SliceError();
- #else
- std::cerr << "Toon slice out of range"
<< std::endl;
+ #elif !defined TOON_NDEBUG_SLICE
+ std::cerr << "TooN slice out of range"
<< std::endl;
std::abort();
#endif
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Toon-members] TooN/internal slice_error.hh,
Edward Rosten <=