diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-09-04 19:29:36 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-09-04 19:29:36 -0700 |
commit | 621c0cdcb5efc4f7c2382031becded018ef0b62b (patch) | |
tree | d6af78ef0872c9db0f48c99e6c93b8d4c43fa689 /tests/test_cpp.cc | |
parent | 8f2758dda2ba12b78ae8f8c7170decc5e88dd28c (diff) |
Const invasion: large parts of upb made const-correct.
Diffstat (limited to 'tests/test_cpp.cc')
-rw-r--r-- | tests/test_cpp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cpp.cc b/tests/test_cpp.cc index ac5a3be..35526fb 100644 --- a/tests/test_cpp.cc +++ b/tests/test_cpp.cc @@ -10,7 +10,7 @@ static void TestSymbolTable() { std::cerr << "Couldn't load descriptor: " << status; exit(1); } - upb::MessageDef *md = s->LookupMessage("A"); + const upb::MessageDef *md = s->LookupMessage("A"); assert(md); s->Unref(); |