aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-04-04 05:03:07 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2012-04-04 05:03:07 -0700
commitb0a7e05a45a925d78efd00ecca6dce9b7a9530f9 (patch)
tree13d0f8f8650b545b767c3e6b8de3e2effa385f2f /src/util.h
parentcadae3588c5553b8c7ef76c14d07041f639fb926 (diff)
parent5cccb13dad589b66957772ee36b3be0ef06ed0dc (diff)
downloadbitcoin-b0a7e05a45a925d78efd00ecca6dce9b7a9530f9.tar.xz
Merge pull request #1019 from laanwj/2012_03_uirefactor
Streamline UI ↔ Core interface
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/util.h b/src/util.h
index 0af5b0a2c5..e4cf83f433 100644
--- a/src/util.h
+++ b/src/util.h
@@ -95,13 +95,6 @@ inline void Sleep(int64 n)
}
#endif
-#if !defined(QT_GUI)
-inline const char* _(const char* psz)
-{
- return psz;
-}
-#endif
-
@@ -267,16 +260,6 @@ 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;
-
-
-
-
-
inline std::string i64tostr(int64 n)
{
return strprintf("%"PRI64d, n);