aboutsummaryrefslogtreecommitdiff
path: root/vcal.cpp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-20 22:18:23 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-20 22:18:23 +0100
commit151571c4540e02b130c808d58d3cc169dd87627a (patch)
tree57627ffdcd8f57d72d5f4baef56847087a7460f9 /vcal.cpp
parentFurther C++ improvements, maybe doesn't segfault now. (diff)
downloadcalp-c++.tar.gz
calp-c++.tar.xz
new segfaults, I give up.c++
Diffstat (limited to 'vcal.cpp')
-rw-r--r--vcal.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcal.cpp b/vcal.cpp
index b0ce2c82..8120674c 100644
--- a/vcal.cpp
+++ b/vcal.cpp
@@ -3,6 +3,11 @@
#include <iostream>
+__content_set::__content_set (strbuf* value) : value(value) {
+ std::cout << _GREEN << value->len << ' ' << value << _RESET << std::endl;
+ this->value->cap();
+}
+
vcomponent::vcomponent(
const std::string& type,
const std::string& filename)