ZRCola::translation_db::translation::com_start marked as const now

This commit is contained in:
2017-03-16 09:44:43 +01:00
parent 9f083bb521
commit 03ff056898
2 changed files with 7 additions and 7 deletions

View File

@@ -46,14 +46,14 @@ namespace ZRCola {
/// Translation data
///
struct translation {
unsigned __int16 rank; ///< Decomposition rank
static unsigned __int16 com_start; ///< Composed character start in \c data
unsigned __int16 rank; ///< Decomposition rank
static const unsigned __int16 com_start; ///< Composed character start in \c data
union {
unsigned __int16 com_end; ///< Composed character end in \c data
unsigned __int16 dec_start; ///< Decomposed character start in \c data
unsigned __int16 com_end; ///< Composed character end in \c data
unsigned __int16 dec_start; ///< Decomposed character start in \c data
};
unsigned __int16 dec_end; ///< Decomposed string end in \c data
wchar_t data[]; ///< Decomposed string and composed character
unsigned __int16 dec_end; ///< Decomposed string end in \c data
wchar_t data[]; ///< Decomposed string and composed character
};
#pragma pack(pop)