Ticket #2669: Clang_Patches.diff

File Clang_Patches.diff, 1.4 KB (added by Yves, 9 years ago)
  • source/tools/atlas/AtlasObject/AtlasObjectImpl.h

     
    5959
    6060    std::wstring value;
    6161
    62     typedef std::multimap<const std::string, const AtNode::Ptr> child_maptype;
    63     typedef std::pair<const std::string, const AtNode::Ptr> child_pairtype;
     62    typedef std::multimap<std::string, AtNode::Ptr> child_maptype;
     63    typedef std::pair<std::string, AtNode::Ptr> child_pairtype;
    6464
    6565    child_maptype children;
    6666
  • source/tools/atlas/GameInterface/Messages.h

     
    438438#ifndef MESSAGES_SKIP_STRUCTS
    439439struct sEnvironmentSettings
    440440{
     441    // Workaround for a bug in the clang compiler: http://llvm.org/bugs/show_bug.cgi?id=16042
     442    // TODO: Can be removed when the bug is fixed in all supported versions of clang.
     443    sEnvironmentSettings& operator= (const sEnvironmentSettings&) = default;
     444   
    441445    Shareable<std::wstring> watertype; // range 0..1 corresponds to min..max terrain height; out-of-bounds values allowed
    442446    Shareable<float> waterheight; // range 0..1 corresponds to min..max terrain height; out-of-bounds values allowed
    443447    Shareable<float> waterwaviness; // range ???