Skip to content
Snippets Groups Projects
Commit 36645d1c authored by Andrew Meadows's avatar Andrew Meadows
Browse files

Fix for etch build. Q and I both fixed LLDate by adding an operator!=() but...

Fix for etch build.  Q and I both fixed LLDate by adding an operator!=() but we did it different ways so the two changes didn't cause a commit collision. I'm removing mine in favor of Q's.
parent 667ca55b
No related branches found
No related tags found
No related merge requests found
...@@ -237,11 +237,6 @@ void LLDate::secondsSinceEpoch(F64 seconds) ...@@ -237,11 +237,6 @@ void LLDate::secondsSinceEpoch(F64 seconds)
mSecondsSinceEpoch = seconds; mSecondsSinceEpoch = seconds;
} }
bool operator!=(const LLDate& first, const LLDate& second)
{
return (first.secondsSinceEpoch() != second.secondsSinceEpoch());
}
/* static */ LLDate LLDate::now() /* static */ LLDate LLDate::now()
{ {
// time() returns seconds, we want fractions of a second, which LLTimer provides --RN // time() returns seconds, we want fractions of a second, which LLTimer provides --RN
......
...@@ -143,9 +143,6 @@ class LLDate ...@@ -143,9 +143,6 @@ class LLDate
F64 mSecondsSinceEpoch; F64 mSecondsSinceEpoch;
}; };
// this operator required for tut
bool operator!=(const LLDate& first, const LLDate& second);
// Helper function to stream out a date // Helper function to stream out a date
std::ostream& operator<<(std::ostream& s, const LLDate& date); std::ostream& operator<<(std::ostream& s, const LLDate& date);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment