From c87247ed39d37fa941937b209ae3854244b644d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Thu, 10 Feb 2011 23:43:09 +0000 Subject: [PATCH] compile. we don't need a const here git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37592 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/version.cpp | 4 ++-- src/version.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/version.cpp b/src/version.cpp index 5e0fdee358..00dd34f9fa 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -14,8 +14,8 @@ /// char const * lyx_version = PACKAGE_VERSION; /// -const int lyx_version_major = LYX_MAJOR_VERSION; -const int lyx_version_minor = LYX_MINOR_VERSION; +int lyx_version_major = LYX_MAJOR_VERSION; +int lyx_version_minor = LYX_MINOR_VERSION; /// char const * lyx_release_date = LYX_DATE; diff --git a/src/version.h b/src/version.h index 5eaccc5f4b..262fc19685 100644 --- a/src/version.h +++ b/src/version.h @@ -17,8 +17,8 @@ ///About dialog, inset info, export headers extern char const * lyx_version; //.lyx header. We don't want lyx_version because of VCS conflicts. -extern const int lyx_version_major; -extern const int lyx_version_minor; +extern int lyx_version_major; +extern int lyx_version_minor; /// extern char const * lyx_release_date;