Page MenuHomePhabricator

include cmath in util_tests
ClosedPublic

Authored by PiRK on Feb 4 2022, 20:40.

Details

Reviewers
tyler-smith
Group Reviewers
Restricted Project
Commits
rABC77697f72d2a7: include cmath in util_tests
Summary

A missing include causes some builds to fail. It seems like cmath was previously imported indirectly via boost/thread/thread.hpp (removed from setup_common.h in D10992)

Test Plan

ninja all check-all

@bot build-linux64

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Feb 4 2022, 20:40

@bot build-linux64 build-linux32 build-linux-aarch64 build-win64

tyler-smith added a subscriber: tyler-smith.

Verified the removal of the transitive include and that the new one fixes the issue with building.

This revision is now accepted and ready to land.Feb 4 2022, 22:16
This revision was automatically updated to reflect the committed changes.