lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] product editor patch


From: Greg Chicares
Subject: Re: [lmi] product editor patch
Date: Sun, 10 Feb 2008 04:00:39 +0000
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

On 2008-02-10 03:36Z, Greg Chicares wrote:
[...]
> [0] Patch to make problem reproducible. In essence: copy an
> object, then call its write() function.

I pasted the wrong thing; please use this instead:

Index: my_tier.cpp
===================================================================
RCS file: /sources/lmi/lmi/my_tier.cpp,v
retrieving revision 1.10
diff -u -2 -r1.10 my_tier.cpp
--- my_tier.cpp 1 Jan 2008 18:29:51 -0000       1.10
+++ my_tier.cpp 10 Feb 2008 03:57:00 -0000
@@ -42,4 +42,5 @@
 #include "stratified_charges.hpp"

+#include "alert.hpp"
 #include "data_directory.hpp"

@@ -60,4 +61,14 @@

     // Another policy form....
+warning() << "If you see this, mustn't the fn ptrs have been set?" << 
std::flush;
+    stratified_charges goo(foo);
+  try
+    {
+    warning() << "First there is a mountain..." << std::flush;
+    goo.write(AddDataDir("goo.tir"));
+    warning() << "...then there is no mountain..." << std::flush;
+    }
+  catch(...) {}
+warning() << "...then there is" << std::flush;
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]