• Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.6
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platforms 13 (04/22/16)

      src/mongo/util/fast_clock_source_factory.cpp:46:9: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
              std::move(stdx::make_unique<SystemClockSource>()), granularity);
              ^
      src/mongo/util/fast_clock_source_factory.cpp:46:9: note: remove std::move call here
              std::move(stdx::make_unique<SystemClockSource>()), granularity);
              ^~~~~~~~~~                                      ~
      1 warning generated.
      

            Assignee:
            waley.chen Waley Chen
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: