• Rodrigo Hernandez's avatar
    Updating Iterators to be compatible with C++17 · 2949ebd8
    Rodrigo Hernandez authored
    The std::iterator class is being deprecated on MSVC++,
    and currently if the compilation flag /std:c++latest
    is used a warning is issued in this regard if any
    iterators use the class as a base class.
    
    If an external source file being compiled includes
    the repeated_field.h header, the iterator clases
    RepeatedPtrIterator and RepeatedPtrOverPtrsIterator
    trigger the warning.
    
    This change solves the warning and should avoid it in
    the future when the default is to remove the class.
    
    Using typedef instead of the modern "using x = y;"
    to make it also work on VS2015.
    2949ebd8
Name
Last commit
Last update
..
google/protobuf Loading commit data...
solaris Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
libprotobuf-lite.map Loading commit data...
libprotobuf.map Loading commit data...
libprotoc.map Loading commit data...