Fix build of unit tests
This commit is contained in:
parent
c41e57ddb9
commit
78f0ef8d6c
2 changed files with 8 additions and 0 deletions
|
@ -112,3 +112,8 @@ bool operator!=(const irdya_date& a, const irdya_date& b)
|
|||
return !(a == b);
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& s, const irdya_date& d)
|
||||
{
|
||||
s << d.to_string();
|
||||
return s;
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@ See the COPYING file for more details.
|
|||
#pragma once
|
||||
|
||||
#include "utils/make_enum.hpp"
|
||||
#include <ostream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
|
@ -50,3 +51,5 @@ bool operator>(const irdya_date& a, const irdya_date& b);
|
|||
bool operator>=(const irdya_date& a, const irdya_date& b);
|
||||
bool operator==(const irdya_date& a, const irdya_date& b);
|
||||
bool operator!=(const irdya_date& a, const irdya_date& b);
|
||||
|
||||
std::ostream& operator<<(std::ostream& s, const irdya_date& d);
|
||||
|
|
Loading…
Add table
Reference in a new issue