Page MenuHomePhabricator

Make ScriptError a C++11 first class enum
ClosedPublic

Authored by deadalnix on Jul 24 2019, 21:09.

Details

Summary

We are now using C++11, so let's use it.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
scripterror
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6948
Build 11943: Bitcoin ABC Buildbot (legacy)
Build 11942: arc lint + arc unit

Event Timeline

jasonbcox requested changes to this revision.Jul 24 2019, 22:05
jasonbcox added a subscriber: jasonbcox.

The rest looks good.

src/script/script_error.h
81

This doesn't appear to be used in our code or Core's. Probably best to remove it.

This revision now requires changes to proceed.Jul 24 2019, 22:05
deadalnix added inline comments.
src/script/script_error.h
81

This is completely unrelated to what the diff is doing.

This revision is now accepted and ready to land.Jul 24 2019, 23:56
This revision was automatically updated to reflect the committed changes.