diff options
Diffstat (limited to 'graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp')
-rw-r--r-- | graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp b/graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp new file mode 100644 index 000000000000..f4347029269c --- /dev/null +++ b/graphics/libx3dtk/files/patch-examples-infoReader-Date.cpp @@ -0,0 +1,19 @@ +*** examples/infoReader/Date.cpp.orig Thu Sep 28 13:23:25 2006 +--- examples/infoReader/Date.cpp Thu Sep 28 13:23:36 2006 +*************** +*** 39,45 **** + return "\"" + m + "/" + d + "/" + y + "\""; + } + +! std::ostream& X3DTK::operator<<(std::ostream& o, const Date &date) + { + return o << date.month << "/" << date.day << "/" << date.year; + } +--- 39,45 ---- + return "\"" + m + "/" + d + "/" + y + "\""; + } + +! std::ostream& operator<<(std::ostream& o, const Date &date) + { + return o << date.month << "/" << date.day << "/" << date.year; + } |