Removed call to pop_back on std::string.
authorAlex Ames <amablue@google.com>
Thu, 24 Sep 2015 21:19:32 +0000 (14:19 -0700)
committerAlex Ames <amablue@google.com>
Thu, 24 Sep 2015 21:19:32 +0000 (14:19 -0700)
commit703b790939f8c65bce01f5bde91b382c9ad48a2e
tree717b84b8fd2fcb855a89a711a2e8e3dd420cc448
parent811a5c3389d375fad8e0e367ec72cdfb2a634672
Removed call to pop_back on std::string.

The pop_back function was added to strings in C++11 and it appears not
all compilers we target support it. The call to pop_back has been
replaced with a call to erase.

Tested on Linux. All unit tests pass.
include/flatbuffers/util.h