Make Version.Decompose() private

This commit is contained in:
Oliver Hamlet
2015-12-05 18:21:02 +00:00
parent 8c5622279a
commit 2d10a8dad2
+5 -4
View File
@@ -31,16 +31,12 @@
namespace loot {
//Version class for more robust version comparisons.
class Version {
private:
std::string verString;
public:
Version();
Version(const std::string& ver);
Version(const boost::filesystem::path& file);
std::string AsString() const;
void Decompose(std::vector<unsigned long>& release,
std::vector<std::string>& preRelease) const;
bool operator > (const Version&) const;
bool operator < (const Version&) const;
@@ -48,6 +44,11 @@ namespace loot {
bool operator <= (const Version&) const;
bool operator == (const Version&) const;
bool operator != (const Version&) const;
private:
std::string verString;
void Decompose(std::vector<unsigned long>& release,
std::vector<std::string>& preRelease) const;
};
}