camera: intel: ipu3: use delete ctor instead of DISALLOW_ASSIGN
The macro is deprecated and will be removed by upstream Chromium.
BUG=b:190446478
TEST=FEATURES=test emerge-atlas libs/cros-camera-hal-intel-ipu3
with old/new libchrome
Change-Id: Icf420945d540e97d94f7976a9267fcf5842fd3c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/camera/+/3077235
Tested-by: Grace Cham <hscham@chromium.org>
Reviewed-by: Ricky Liang <jcliang@chromium.org>
Reviewed-by: Qijiang Fan <fqj@google.com>
Commit-Queue: Grace Cham <hscham@chromium.org>
diff --git a/hal/intel/ipu3/common/gcss/gcss_item.h b/hal/intel/ipu3/common/gcss/gcss_item.h
index dbe128b..0ae857e 100644
--- a/hal/intel/ipu3/common/gcss/gcss_item.h
+++ b/hal/intel/ipu3/common/gcss/gcss_item.h
@@ -134,6 +134,7 @@
GraphConfigNode(const GraphConfigNode&);
GraphConfigNode() : GraphConfigItem(NODE), mAncestor(nullptr){};
+ GraphConfigNode& operator=(const GraphConfigNode&) = delete;
~GraphConfigNode();
GraphConfigNode* copy();
@@ -198,7 +199,6 @@
operator IGraphConfig*() { return this; }
private:
- DISALLOW_ASSIGN(GraphConfigNode);
GraphConfigItem::const_iterator getNext(const_iterator& it){
return std::next(it, 1);}
GraphConfigItem::const_iterator getNextAttribute(