Skip to content
Snippets Groups Projects
  • Vijay Pai's avatar
    4425828d
    Should not explicitly initialize these pointers to nullptr in gcc-4.4 case · 4425828d
    Vijay Pai authored
    because nullptr assignment actually requires the calling of a constructor.
    As a result, the order in which these nullptr initializations take place
    is not defined with respect to other initializations.
    A pointer that is left without explicit initialization automatically
    gets nullptr anyway, so just don't explicitly initialize these.
    4425828d
    History
    Should not explicitly initialize these pointers to nullptr in gcc-4.4 case
    Vijay Pai authored
    because nullptr assignment actually requires the calling of a constructor.
    As a result, the order in which these nullptr initializations take place
    is not defined with respect to other initializations.
    A pointer that is left without explicit initialization automatically
    gets nullptr anyway, so just don't explicitly initialize these.