Status: New Owner: ken...@google.com Labels: Type-Defect Priority-Medium
New issue 162 by dstahlke: Add #include <algorithm> for std::swap http://code.google.com/p/protobuf/issues/detail?id=162 What steps will reproduce the problem? 1. Run "cpplint.py --filter=-whitespace,-legal/copyright" on generated C++ code. 2. 3. What is the expected output? What do you see instead? Add #include <algorithm> for swap [build/include_what_you_use] [4] What version of the product are you using? On what operating system? protobuf-2.3.0 Please provide any additional information below. It seems that std::swap is used in the generated code, but the <algorithm> header is not included. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.