diff options
author | (no author) <(no author)@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-08-02 02:24:33 +0400 |
---|---|---|
committer | (no author) <(no author)@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-08-02 02:24:33 +0400 |
commit | 4f6f4df2cfd9a956985cb00944dcbe662d44753a (patch) | |
tree | 28297ca33f3a36b7aba3461bfb64dccdafd1cd37 /moses/src/LatticePathList.h | |
parent | 8568c3bedaa1bf9640188969f5a89e84bd255f2a (diff) |
This commit was manufactured by cvs2svn to create tagSCRIPTS-RELEASE-20060801-1856
'SCRIPTS-RELEASE-20060801-1856'.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/tags/SCRIPTS-RELEASE-20060801-1856@459 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses/src/LatticePathList.h')
-rwxr-xr-x | moses/src/LatticePathList.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/moses/src/LatticePathList.h b/moses/src/LatticePathList.h deleted file mode 100755 index 0e9a6bc22..000000000 --- a/moses/src/LatticePathList.h +++ /dev/null @@ -1,43 +0,0 @@ -// $Id$ - -/*********************************************************************** -Moses - factored phrase-based language decoder -Copyright (C) 2006 University of Edinburgh - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -***********************************************************************/ - -#pragma once - -#include <list> -#include "LatticePath.h" - - -class LatticePathList : public std::list<const LatticePath*> -{ - -public: - ~LatticePathList() - { - // clean up - LatticePathList::iterator iter; - for (iter = begin() ; iter != end() ; ++iter) - { - delete *iter; - } - clear(); - } -}; - |