summaryrefslogtreecommitdiff
path: root/lib/cpp/src/thrift/protocol/TProtocol.h
diff options
context:
space:
mode:
authorJens Geyer <jensg@apache.org>2015-04-30 20:29:20 +0200
committerJens Geyer <jensg@apache.org>2015-04-30 20:37:20 +0200
commit1a8e048bd05b8506ab06200282e2ba516927786e (patch)
treedce49511b5e86fad1372352e3dd08393b40589cd /lib/cpp/src/thrift/protocol/TProtocol.h
parent79c9911b8780d1f9d7c2c17623d269f0671d1723 (diff)
downloadthrift-1a8e048bd05b8506ab06200282e2ba516927786e.tar.gz
THRIFT-3120 Minor spelling errors and an outdated URL
Client: C++ Patch: Calvin Sun <675313675@qq.com> This closes #471
Diffstat (limited to 'lib/cpp/src/thrift/protocol/TProtocol.h')
-rw-r--r--lib/cpp/src/thrift/protocol/TProtocol.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/cpp/src/thrift/protocol/TProtocol.h b/lib/cpp/src/thrift/protocol/TProtocol.h
index 5d440431b..f220d5c22 100644
--- a/lib/cpp/src/thrift/protocol/TProtocol.h
+++ b/lib/cpp/src/thrift/protocol/TProtocol.h
@@ -39,8 +39,7 @@
// The most obvious implementation is to just cast a pointer,
// but that doesn't work.
// For a pretty in-depth explanation of the problem, see
-// http://www.cellperformance.com/mike_acton/2006/06/ (...)
-// understanding_strict_aliasing.html
+// http://cellperformance.beyond3d.com/articles/2006/06/understanding-strict-aliasing.html
template <typename To, typename From>
static inline To bitwise_cast(From from) {
BOOST_STATIC_ASSERT(sizeof(From) == sizeof(To));