diff options
author | Collin <iCollin@users.noreply.github.com> | 2020-02-06 14:48:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 14:48:56 -0500 |
commit | da829c08b709f3ae7a2cb5a031ad8d48124847dc (patch) | |
tree | 3c0d7e8cd00db49d67289c1f976d33324d7bef7b | |
parent | 88c73e25c957cf5eae521688d74064ae8429fb8c (diff) | |
download | sdl_core-da829c08b709f3ae7a2cb5a031ad8d48124847dc.tar.gz |
fix warning in compiling core (#3236)
remove reference to deprecated StyledStreamWriter
-rw-r--r-- | src/components/policy/policy_external/test/policy_manager_impl_snapshot_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/policy/policy_external/test/policy_manager_impl_snapshot_test.cc b/src/components/policy/policy_external/test/policy_manager_impl_snapshot_test.cc index 04147c1414..f89a2ce0c7 100644 --- a/src/components/policy/policy_external/test/policy_manager_impl_snapshot_test.cc +++ b/src/components/policy/policy_external/test/policy_manager_impl_snapshot_test.cc @@ -71,9 +71,8 @@ TEST_F(PolicyManagerImplTest2, UpdatedPreloadedPT_ExpectLPT_IsUpdated) { } ifile.close(); - Json::StyledStreamWriter writer; std::ofstream ofile(preloaded_pt_filename_); - writer.write(ofile, root); + ofile << root; ofile.flush(); ofile.close(); |