compatibility for c++ standard version less than 11

Signed-off-by: SebGDev <Sebastian_Goebel@gmx.net>
This commit is contained in:
SebGDev
2015-05-11 13:51:20 +02:00
parent 03c3fa63d1
commit 5785b6d76f
2 changed files with 4 additions and 4 deletions

View File

@@ -24,8 +24,8 @@ using std::string;
using zxing::common::CharacterSetECI;
using zxing::IllegalArgumentException;
std::map<int, zxing::Ref<CharacterSetECI>> CharacterSetECI::VALUE_TO_ECI;
std::map<std::string, zxing::Ref<CharacterSetECI>> CharacterSetECI::NAME_TO_ECI;
std::map<int, zxing::Ref<CharacterSetECI> > CharacterSetECI::VALUE_TO_ECI;
std::map<std::string, zxing::Ref<CharacterSetECI> > CharacterSetECI::NAME_TO_ECI;
const bool CharacterSetECI::inited = CharacterSetECI::init_tables();

View File

@@ -27,8 +27,8 @@ namespace common {
class CharacterSetECI : public Counted {
private:
static std::map<int, zxing::Ref<CharacterSetECI>> VALUE_TO_ECI;
static std::map<std::string, zxing::Ref<CharacterSetECI>> NAME_TO_ECI;
static std::map<int, zxing::Ref<CharacterSetECI> > VALUE_TO_ECI;
static std::map<std::string, zxing::Ref<CharacterSetECI> > NAME_TO_ECI;
static const bool inited;
static bool init_tables();