Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 39413 invoked from network); 15 May 2007 23:18:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2007 23:18:27 -0000 Received: (qmail 94856 invoked by uid 500); 15 May 2007 23:18:34 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 94839 invoked by uid 500); 15 May 2007 23:18:33 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 94828 invoked by uid 99); 15 May 2007 23:18:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 16:18:33 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 16:18:26 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 8DF051A9838; Tue, 15 May 2007 16:18:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r538378 - in /incubator/stdcxx/trunk: include/stdexcept src/logic_error.cpp Date: Tue, 15 May 2007 23:18:06 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070515231806.8DF051A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Tue May 15 16:18:05 2007 New Revision: 538378 URL: http://svn.apache.org/viewvc?view=rev&rev=538378 Log: 2007-05-15 Martin Sebor STDCXX-416 * stdexcept (logic_error): Declared dtor. * logic_error.cpp: New file. (logic_error): Defined class dtor Added: incubator/stdcxx/trunk/src/logic_error.cpp (with props) Modified: incubator/stdcxx/trunk/include/stdexcept Modified: incubator/stdcxx/trunk/include/stdexcept URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/stdexcept?view=diff&rev=538378&r1=538377&r2=538378 ============================================================================== --- incubator/stdcxx/trunk/include/stdexcept (original) +++ incubator/stdcxx/trunk/include/stdexcept Tue May 15 16:18:05 2007 @@ -7,16 +7,23 @@ * *************************************************************************** * - * Copyright (c) 1994-2005 Quovadx, Inc., acting through its Rogue Wave - * Software division. Licensed under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0. Unless required by - * applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, either express or implied. See the License - * for the specific language governing permissions and limitations under - * the License. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + * Copyright 1994-2006 Rogue Wave Software. * **************************************************************************/ @@ -44,6 +51,8 @@ // extension _EXPLICIT logic_error (const char *__s = 0) : _RW::__rw_exception (__s) { } + + virtual ~logic_error () _THROWS (()); }; Added: incubator/stdcxx/trunk/src/logic_error.cpp URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/logic_error.cpp?view=auto&rev=538378 ============================================================================== --- incubator/stdcxx/trunk/src/logic_error.cpp (added) +++ incubator/stdcxx/trunk/src/logic_error.cpp Tue May 15 16:18:05 2007 @@ -0,0 +1,43 @@ +/*************************************************************************** + * + * logic_error.cpp - definitions of class logic_error members + * + * $Id$ + * + *************************************************************************** + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. + * + **************************************************************************/ + +#define _RWSTD_LIB_SRC + +#include +#include + + +_RWSTD_NAMESPACE (std) { + +// outlined to avoid generating a vtable in each translation unit +// that uses the class +/* virtual */ logic_error:: +~logic_error () _THROWS (()) +{ + // no-op +} + +} // namespace std Propchange: incubator/stdcxx/trunk/src/logic_error.cpp ------------------------------------------------------------------------------ svn:keywords = Id