diff options
author | Adam Cozzette <acozzette@google.com> | 2018-03-14 11:17:48 -0700 |
---|---|---|
committer | Adam Cozzette <acozzette@google.com> | 2018-03-14 11:17:48 -0700 |
commit | 67952fab2c766ac5eacc15bb78e5af4039a3d398 (patch) | |
tree | eaaec1e5a17e676cd08535e15a365d557c332c3b /src/google/protobuf/compiler/javanano/javanano_file.cc | |
parent | b1216d95db304326f4c28d6dbc7d0860c43d8208 (diff) |
Deleted scoped_ptr.h
We no longer need this, now that we have finished the switch to C++11
and are using std::unique_ptr.
Diffstat (limited to 'src/google/protobuf/compiler/javanano/javanano_file.cc')
-rw-r--r-- | src/google/protobuf/compiler/javanano/javanano_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/javanano/javanano_file.cc b/src/google/protobuf/compiler/javanano/javanano_file.cc index 7a661a42..9acdc3b5 100644 --- a/src/google/protobuf/compiler/javanano/javanano_file.cc +++ b/src/google/protobuf/compiler/javanano/javanano_file.cc @@ -221,7 +221,7 @@ static void GenerateSibling(const string& package_dir, string filename = package_dir + descriptor->name() + ".java"; file_list->push_back(filename); - scoped_ptr<io::ZeroCopyOutputStream> output( + std::unique_ptr<io::ZeroCopyOutputStream> output( output_directory->Open(filename)); io::Printer printer(output.get(), '$'); |