Skip to content

fix: refactor legacy#102

Merged
faustbrian merged 1 commit intoArkEcosystemArchive:refactor/legacyfrom
sleepdefic1t:fix/refactor/legacy
Jul 7, 2019
Merged

fix: refactor legacy#102
faustbrian merged 1 commit intoArkEcosystemArchive:refactor/legacyfrom
sleepdefic1t:fix/refactor/legacy

Conversation

@sleepdefic1t
Copy link
Contributor

@sleepdefic1t sleepdefic1t commented Jul 7, 2019

Fixes remaining changes from refactor/legacy in #100 .

Specifically,

  • [abstract.h]
    • explicit keyword moved to single argument constructor.

    per: https://google.github.io/styleguide/cppguide.html#Implicit_Conversions

  • [http.h]
    • added default constructor;
    • changed copy assignment operator to default.
  • [test/mock_api.h]
    • removed legacy version-value from constructor.
  • [test/mock_http.h]
    • removed default MockHTTP() constructor (now unneeded).
  • [test/http.h]
    • fixes to make tests pass with current devnet core.
    • future PR should be done to use some other source.

What kind of change does this PR introduce?

  • Bugfix

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
  • No

The PR fulfills these requirements:

- [ ] It's submitted to the develop branch, not the master branch n/a

  • All tests are passing

- [n/a ] New/updated tests are included n/a

Fixes remaining changes from `refactor/legacy`.

Specifically,

- [abstract.h]
  - `explicit` keyword moved to single argument constructor.
  | per: https://google.github.io/styleguide/cppguide.html#Implicit_Conversions
- [http.h]
  - added default constructor;
  - changed copy assignment operator to default.
- [test/mock_api.h]
  - removed legacy version-value from constructor.
- [test/mock_http.h]
  - removed default `MockHTTP()` constructor (now unneeded).
- [test/http.h]
 - fixes to make tests pass with current devnet core.
 - future PR should be done to use some other source.
@ghost ghost added Complexity: Medium Less than 256 lines changed. Type: Bugfix The pull request fixes an incorrect functionality or behaviour. labels Jul 7, 2019
@faustbrian faustbrian merged commit 9dca8b0 into ArkEcosystemArchive:refactor/legacy Jul 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complexity: Medium Less than 256 lines changed. Type: Bugfix The pull request fixes an incorrect functionality or behaviour.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants