Skip to content

Commit

Permalink
Add missing using declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
metopa committed May 5, 2018
1 parent 4f3cab3 commit 058eb3a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions epi_judge_cpp/drawing_skyline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ bool operator==(const Rectangle& a, const Rectangle& b) {
}
} // namespace drawing_skyline

using drawing_skyline::ComputeSkyline;

template <>
struct SerializationTraits<drawing_skyline::Rectangle>
: UserSerTraits<drawing_skyline::Rectangle, int, int, int> {};
Expand Down
2 changes: 2 additions & 0 deletions epi_judge_cpp/rectangle_intersection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ bool operator==(const Rectangle& r1, const Rectangle& r2) {

} // namespace rectangle_intersection

using rectangle_intersection::IntersectRectangle;

template <>
struct SerializationTraits<rectangle_intersection::Rectangle>
: UserSerTraits<rectangle_intersection::Rectangle, int, int, int, int> {
Expand Down
2 changes: 2 additions & 0 deletions epi_judge_cpp_solutions/drawing_skyline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ bool operator==(const Rectangle& a, const Rectangle& b) {
}
} // namespace drawing_skyline

using drawing_skyline::ComputeSkyline;

template <>
struct SerializationTraits<drawing_skyline::Rectangle>
: UserSerTraits<drawing_skyline::Rectangle, int, int, int> {};
Expand Down
2 changes: 2 additions & 0 deletions epi_judge_cpp_solutions/rectangle_intersection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ bool operator==(const Rectangle& r1, const Rectangle& r2) {

} // namespace rectangle_intersection

using rectangle_intersection::IntersectRectangle;

template <>
struct SerializationTraits<rectangle_intersection::Rectangle>
: UserSerTraits<rectangle_intersection::Rectangle, int, int, int, int> {
Expand Down

0 comments on commit 058eb3a

Please sign in to comment.