Commit 1fa49a2e authored by Adam Simpkins's avatar Adam Simpkins Committed by Facebook Github Bot 6

move io/Cursor-defs.h to io/Cursor.cpp

Summary:
The two function definitions in this file are both normal function definitions,
not template functions.  Therefore this should be just a normal .cpp file, and
not a -defs.h header file.

Reviewed By: igorsugak

Differential Revision: D3348439

fbshipit-source-id: 3ebe49c84493f5aab06c568d9df15a37c2c48836
parent c59d3032
...@@ -401,6 +401,7 @@ libfolly_la_SOURCES = \ ...@@ -401,6 +401,7 @@ libfolly_la_SOURCES = \
IPAddressV6.cpp \ IPAddressV6.cpp \
LifoSem.cpp \ LifoSem.cpp \
io/Compression.cpp \ io/Compression.cpp \
io/Cursor.cpp \
io/IOBuf.cpp \ io/IOBuf.cpp \
io/IOBufQueue.cpp \ io/IOBufQueue.cpp \
io/RecordIO.cpp \ io/RecordIO.cpp \
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#pragma once
#include <folly/io/Cursor.h> #include <folly/io/Cursor.h>
#include <cstdio> #include <cstdio>
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include <folly/Format.h> #include <folly/Format.h>
#include <folly/Range.h> #include <folly/Range.h>
#include <folly/io/Cursor.h> #include <folly/io/Cursor.h>
#include <folly/io/Cursor-defs.h>
DECLARE_bool(benchmark); DECLARE_bool(benchmark);
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <folly/Format.h> #include <folly/Format.h>
#include <folly/Range.h> #include <folly/Range.h>
#include <folly/io/Cursor.h> #include <folly/io/Cursor.h>
#include <folly/io/Cursor-defs.h>
#include <gtest/gtest.h> #include <gtest/gtest.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment