Skip to content

Conversation

@instagibbs
Copy link
Contributor

Resolves #571

@instagibbs
Copy link
Contributor Author

@gwillen ACK?

@stevenroose
Copy link
Contributor

stevenroose commented Apr 12, 2019

Seems like you could have put an extra const before CAsset as well.

aka 'const pair<const CAsset, long long> &'

@stevenroose
Copy link
Contributor

But yeah auto-ing it works as well :D

@instagibbs instagibbs merged commit 3ef0e6d into ElementsProject:master Apr 12, 2019
instagibbs added a commit that referenced this pull request Apr 12, 2019
3ef0e6d Fix some const clang complaints (Gregory Sanders)

Pull request description:

  Resolves #571

Tree-SHA512: c2dd4287d22678da570f0a9c053929c373e7377b1e1f8eff12e3df4d43cfa6c21d5be1d45c44db76c5686ea40c925c94250ed245451174cf0190b6e58cca9268
@gwillen
Copy link
Contributor

gwillen commented Apr 13, 2019

Whoops, sorry I missed this! That should fix my issue, yeah. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing 'const' causes compiler warning

3 participants