summaryrefslogtreecommitdiff
path: root/src/generic/dumb_ptr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/dumb_ptr.hpp')
-rw-r--r--src/generic/dumb_ptr.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/generic/dumb_ptr.hpp b/src/generic/dumb_ptr.hpp
index da84171..39c8c8b 100644
--- a/src/generic/dumb_ptr.hpp
+++ b/src/generic/dumb_ptr.hpp
@@ -215,15 +215,6 @@ struct dumb_string
return dumb_string::copy(sn, sn + strnlen(sn, n));
}
- static
- dumb_string fake(ZString p)
- {
- dumb_string rv;
- size_t len = p.size();
- rv.impl = dumb_ptr<char[]>(const_cast<char *>(p.c_str()), len);
- return rv;
- }
-
dumb_string dup() const
{
return dumb_string::copy(&impl[0], &impl[0] + impl.size());