Rename Leap to leap

This commit is contained in:
Howard Hinnant
2016-05-28 20:27:02 -04:00
parent b0a23f2cff
commit f60f61201c
2 changed files with 26 additions and 26 deletions
+4 -4
View File
@@ -1926,9 +1926,9 @@ operator<<(std::ostream& os, const link& x)
return os << x.name_ << " --> " << x.target_;
}
// Leap
// leap
Leap::Leap(const std::string& s, detail::undocumented)
leap::leap(const std::string& s, detail::undocumented)
{
using namespace date;
std::istringstream in(s);
@@ -1941,7 +1941,7 @@ Leap::Leap(const std::string& s, detail::undocumented)
}
std::ostream&
operator<<(std::ostream& os, const Leap& x)
operator<<(std::ostream& os, const leap& x)
{
using namespace date;
return os << x.date_ << " +";
@@ -2151,7 +2151,7 @@ init_tzdb()
}
else if (word == "Leap")
{
db.leaps.push_back(Leap(line, detail::undocumented{}));
db.leaps.push_back(leap(line, detail::undocumented{}));
continue_zone = false;
}
else if (word == "Zone")