You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/11/30 04:31:17 UTC

[GitHub] [incubator-brpc] jamesge commented on a change in pull request #1291: make butil::ScopedVector support std::initializer_list

jamesge commented on a change in pull request #1291:
URL: https://github.com/apache/incubator-brpc/pull/1291#discussion_r532342540



##########
File path: src/butil/memory/scoped_vector.h
##########
@@ -6,6 +6,9 @@
 #define BUTIL_MEMORY_SCOPED_VECTOR_H_
 
 #include <vector>
+#if __cplusplus >= 201103L  // >= C++11

Review comment:
       no need to add this, c++11 is enabled by default




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org