• Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • ALL
    • Sharding 15 (06/03/16)

      src/mongo/dbtests/chunktests.cpp:68:26: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]
              _chunkRangeMap = std::move(_constructRanges(_chunkMap));
                               ^
      src/mongo/dbtests/chunktests.cpp:68:26: note: remove std::move call here
              _chunkRangeMap = std::move(_constructRanges(_chunkMap));
                               ^~~~~~~~~~                           ~
      

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: