aboutsummaryrefslogtreecommitdiff
path: root/vcal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vcal.cpp')
-rw-r--r--vcal.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/vcal.cpp b/vcal.cpp
index a104664d..8f49b7d8 100644
--- a/vcal.cpp
+++ b/vcal.cpp
@@ -1,14 +1,19 @@
#include "vcal.h"
#include "err.h"
+#include <iostream>
+
std::ostream& operator<<(std::ostream& o, vcomponent* self) {
for (int i = 0; i < 40; i++) o << '_';
o << _YELLOW << std::endl
<< "VComponet (Type := " << self->type << _RESET
- << self->clines
- << std::endl << "Components:" << std::endl
- << self->components;
+ // << self->clines
+ << std::endl << "Components:" << std::endl;
+ for (auto v : self->components) {
+ o << &v;
+ }
+ //<< self->components;
return o;
}