fix issues when compiling with clang
authorAdam Simpkins <simpkins@fb.com>
Wed, 4 Dec 2013 03:33:47 +0000 (19:33 -0800)
committerJordan DeLong <jdelong@fb.com>
Fri, 20 Dec 2013 21:04:18 +0000 (13:04 -0800)
commit29eecd37d773918cc0081938da7562852151c69f
tree2cfa9feadd7fb89a00be82c56a442fe3e07caff1
parentcb5272724fbe18e937bbe8bb8a0a279027255032
fix issues when compiling with clang

Summary:
My previous change to re-implement IOBuf's internal storage mechanism
introduced a build failure when compiling with clang.

This fixes the new compilation error in IOBuf.cpp, as well as two
existing build failures in some of the unit tests.

Test Plan: Built the folly/io code with clang.

Reviewed By: andrewjcg@fb.com

FB internal diff: D1082086
folly/io/IOBuf.cpp
folly/io/test/IOBufTest.cpp
folly/io/test/RecordIOTest.cpp