Browse Source

Removed Jupiter::emptyString variable from CString.h.

release/0.19
JustinAJ 11 years ago
parent
commit
4c9519a4ad
  1. 1
      Jupiter/CString.h
  2. 2
      Jupiter/INIFile.cpp
  3. BIN
      Release/Jupiter.lib

1
Jupiter/CString.h

@ -447,7 +447,6 @@ namespace Jupiter
static const Jupiter::CStringS &emptyCStringS = Jupiter::CStringS::empty; static const Jupiter::CStringS &emptyCStringS = Jupiter::CStringS::empty;
static const Jupiter::CStringL &emptyCStringL = Jupiter::CStringL::empty; static const Jupiter::CStringL &emptyCStringL = Jupiter::CStringL::empty;
static const Jupiter::CStringType &emptyCString = emptyCStringS; static const Jupiter::CStringType &emptyCString = emptyCStringS;
static const Jupiter::StringType &emptyString = emptyCString;
} }
/** Implementation for CString_Type and CString_Loose. Very scary. */ /** Implementation for CString_Type and CString_Loose. Very scary. */

2
Jupiter/INIFile.cpp

@ -123,7 +123,7 @@ const Jupiter::ReadableString &Jupiter::INIFile::Section::getValue(const Jupiter
pair = Jupiter::INIFile::Section::data_->data.get(i); pair = Jupiter::INIFile::Section::data_->data.get(i);
if (pair->getKey().equalsi(key)) return pair->getValue(); if (pair->getKey().equalsi(key)) return pair->getValue();
} }
return Jupiter::emptyString; return Jupiter::ReferenceString::empty;
} }
Jupiter::INIFile::Section::KeyValuePair *Jupiter::INIFile::Section::getPair(size_t index) const Jupiter::INIFile::Section::KeyValuePair *Jupiter::INIFile::Section::getPair(size_t index) const

BIN
Release/Jupiter.lib

Binary file not shown.
Loading…
Cancel
Save