ZRCola::translation_db::translation::com_start marked as const now
This commit is contained in:
parent
9f083bb521
commit
03ff056898
@ -46,14 +46,14 @@ namespace ZRCola {
|
|||||||
/// Translation data
|
/// Translation data
|
||||||
///
|
///
|
||||||
struct translation {
|
struct translation {
|
||||||
unsigned __int16 rank; ///< Decomposition rank
|
unsigned __int16 rank; ///< Decomposition rank
|
||||||
static unsigned __int16 com_start; ///< Composed character start in \c data
|
static const unsigned __int16 com_start; ///< Composed character start in \c data
|
||||||
union {
|
union {
|
||||||
unsigned __int16 com_end; ///< Composed character end 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_start; ///< Decomposed character start in \c data
|
||||||
};
|
};
|
||||||
unsigned __int16 dec_end; ///< Decomposed string end in \c data
|
unsigned __int16 dec_end; ///< Decomposed string end in \c data
|
||||||
wchar_t data[]; ///< Decomposed string and composed character
|
wchar_t data[]; ///< Decomposed string and composed character
|
||||||
};
|
};
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
unsigned __int16 ZRCola::translation_db::translation::com_start = 0;
|
const unsigned __int16 ZRCola::translation_db::translation::com_start = 0;
|
||||||
|
|
||||||
|
|
||||||
void ZRCola::translation_db::Compose(_In_z_count_(inputMax) const wchar_t* input, _In_ size_t inputMax, _Out_ std::wstring &output, _Out_opt_ std::vector<mapping>* map) const
|
void ZRCola::translation_db::Compose(_In_z_count_(inputMax) const wchar_t* input, _In_ size_t inputMax, _Out_ std::wstring &output, _Out_opt_ std::vector<mapping>* map) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user