IndexEntry: _key should be private

It doesn't have any users outside of the IndexEntry class.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2014-11-04 08:27:36 -05:00
parent e89941af31
commit dcb79dceed
1 changed files with 3 additions and 1 deletions

View File

@ -16,8 +16,10 @@
* integer identifiers. This lets us use a Database as an inverted index. * integer identifiers. This lets us use a Database as an inverted index.
*/ */
class IndexEntry : public DatabaseEntry { class IndexEntry : public DatabaseEntry {
public: private:
std::string _key; /**< The term stored by this IndexEntry. */ std::string _key; /**< The term stored by this IndexEntry. */
public:
std::set<unsigned int> _values; /**< Integers representing strings that std::set<unsigned int> _values; /**< Integers representing strings that
contain this term. */ contain this term. */