replace array with variable size with vector,

this should help clang compiler to compile our source code
This commit is contained in:
Evgeniy Dushistov
2013-07-06 12:52:48 +00:00
parent 2a5da7969f
commit ab22f8eb41
5 changed files with 7 additions and 7 deletions

View File

@@ -119,7 +119,7 @@ public:
glong narticles(int idict) { return oLib[idict]->narticles(); }
const std::string& dict_name(int idict) { return oLib[idict]->dict_name(); }
gint ndicts() { return oLib.size(); }
gint ndicts() const { return oLib.size(); }
const gchar * poGetWord(glong iIndex,int iLib) {
return oLib[iLib]->get_key(iIndex);