git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3426 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2010-09-13 15:32:40 +00:00
parent 130ae457dd
commit 84fcb4110d
2 changed files with 12 additions and 1 deletions

View File

@ -54,6 +54,10 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Name of package */
#undef PACKAGE
@ -69,6 +73,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION

View File

@ -232,9 +232,13 @@ public:
}
//! destructor
~StaticData();
//! return static instance for use like global variable
static const StaticData& Instance() { return s_instance; }
//! do NOT call unless you know what you're doing
static StaticData& InstanceNonConst() { return s_instance; }
/** delete current static instance and replace with another.
* Used by gui front end
*/