mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-24 07:31:48 +00:00
Use flatbuffer unique_ptr instead of std's.
Stlport does not have std unique_ptr, so using the one provided by flatbuffers. Also fixing a problem with the flatbuffer unique_ptr, and a test.
This commit is contained in:
@@ -284,7 +284,7 @@ struct StructDef : public Definition {
|
||||
size_t minalign; // What the whole object needs to be aligned to.
|
||||
size_t bytesize; // Size if fixed.
|
||||
|
||||
std::unique_ptr<std::string> original_location;
|
||||
flatbuffers::unique_ptr<std::string> original_location;
|
||||
};
|
||||
|
||||
inline bool IsStruct(const Type &type) {
|
||||
|
||||
Reference in New Issue
Block a user