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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #10446)

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 ↗(On Diff #10446)

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.