update_engine: Clean up angle brackets in template types.
C++11 no longer has the angle bracket pitfall in template types.
BUG=None
TEST=`FEATURES=test emerge-$BOARD update_engine`
Change-Id: I0168b9f208ad8e62ae614b8a3b8bcf31c58fa9f2
Reviewed-on: https://chromium-review.googlesource.com/219203
Commit-Queue: Ben Chan <[email protected]>
Tested-by: Ben Chan <[email protected]>
Reviewed-by: Alex Vakulenko <[email protected]>
diff --git a/action.h b/action.h
index 32bb302..c806b48 100644
--- a/action.h
+++ b/action.h
@@ -141,8 +141,7 @@
// this type is a fancy way of saying: a shared_ptr to an
// ActionPipe<InputObjectType>.
const std::shared_ptr<ActionPipe<
- typename ActionTraits<SubClass>::InputObjectType> >&
- in_pipe) {
+ typename ActionTraits<SubClass>::InputObjectType>>& in_pipe) {
in_pipe_ = in_pipe;
}
@@ -154,8 +153,7 @@
// this type is a fancy way of saying: a shared_ptr to an
// ActionPipe<OutputObjectType>.
const std::shared_ptr<ActionPipe<
- typename ActionTraits<SubClass>::OutputObjectType> >&
- out_pipe) {
+ typename ActionTraits<SubClass>::OutputObjectType>>& out_pipe) {
out_pipe_ = out_pipe;
}
@@ -196,11 +194,9 @@
// point to when the last such shared_ptr object dies. We consider the
// Actions on either end of a pipe to "own" the pipe. When the last Action
// of the two dies, the ActionPipe will die, too.
- std::shared_ptr<
- ActionPipe<typename ActionTraits<SubClass>::InputObjectType> >
+ std::shared_ptr<ActionPipe<typename ActionTraits<SubClass>::InputObjectType>>
in_pipe_;
- std::shared_ptr<
- ActionPipe<typename ActionTraits<SubClass>::OutputObjectType> >
+ std::shared_ptr<ActionPipe<typename ActionTraits<SubClass>::OutputObjectType>>
out_pipe_;
};