Skip to content

few warnings/errors in copy assignment #2167

@richardlalancetteyoui

Description

@richardlalancetteyoui

Hi!
I have integrated your library in our code.
Can you advise regarding the following 3 problems?

Static analysis found 3 issues in your PR (xcode 11's clang-analyzer):
• Use of identical expressions in json.hpp:17964 (in function operator=)
• Use of identical expressions in json.hpp:21647 (in function swap)
• Use of identical expressions in json.hpp:24444 (in function swap)

What do you want to achieve?

Integration without warning or issue if possible.

What have you tried?

I'm starting to investigation removing the warnings in our own copy of the code.

Which compiler and operating system are you using?

Model Identifier: iMac14,2
Processor Speed: 3.70 GHz
Number of Processors: 1
Total Number of Cores: 6
Memory: 64 GB

  • Compiler: xcode
  • Operating system: 10.13.6

Which version of the library did you use?

  • latest release version 3.7.3
  • other release - please state the version: ___
  • the develop branch
    commit 9212590

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions