git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
96c700f
8632383
)
Merge branch '0.5.0.x' into 0.5.x
author
Luke Dashjr
<luke-jr+git@utopios.org>
Fri, 23 Dec 2011 15:09:13 +0000 (10:09 -0500)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Fri, 23 Dec 2011 15:09:13 +0000 (10:09 -0500)
1
2
src/util.h
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
src/util.h
index
1ef0e6f
,
bcb9027
..
dcf060e
---
1
/
src/util.h
---
2
/
src/util.h
+++ b/
src/util.h
@@@
-292,10
-285,11
+292,14
@@@
public
+// This is exactly like std::string, but with a custom allocator.
+// (secure_allocator<> is defined in serialize.h)
+typedef std::basic_string<char, std::char_traits<char>, secure_allocator<char> > SecureString;
+ // This is exactly like std::string, but with a custom allocator.
+ // (secure_allocator<> is defined in serialize.h)
+ typedef std::basic_string<char, std::char_traits<char>, secure_allocator<char> > SecureString;
+