https://src.bluestatic.org
/
zcpointer.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make member<T> not heap-allocated with ZCPOINTER_TRACK_REFS.
[zcpointer.git]
/
test_helpers.cc
diff --git
a/test_helpers.cc
b/test_helpers.cc
index 45cba9b3d76f13f0483fd6b49934aa338fdcd832..ae1897c8d08c9814c0314740afa67721ec862d79 100644
(file)
--- a/
test_helpers.cc
+++ b/
test_helpers.cc
@@
-25,10
+25,10
@@
X::X(const char* v) : foo_(v) {}
X::~X() {}
size_t X::GetCount() const {
- return vec_c_
->
size();
+ return vec_c_
.
size();
}
std::string X::DoString() {
- vec_c_
->
push_back(C());
+ vec_c_
.
push_back(C());
return foo_;
}