mirror of
https://github.com/vtil-project/VTIL-Core
synced 2026-08-17 08:23:03 -04:00
Merge pull request #55 from heinrich5991/pr_clang
Fix build in clang 11.1.0 by adding #include
This commit is contained in:
commit
25861ca20e
1 changed files with 2 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
|||
//
|
||||
#pragma once
|
||||
#include "formatting.hpp"
|
||||
#include <cmath>
|
||||
|
||||
// Trivial types with useful explict formatting wrappers.
|
||||
//
|
||||
|
|
@ -110,7 +111,7 @@ namespace vtil::format
|
|||
//
|
||||
for ( auto [abbrv, i] : backwards( zip( unit_abbrv, iindices ) ) )
|
||||
{
|
||||
double limit = pow( 1024.0, i );
|
||||
double limit = std::pow( 1024.0, i );
|
||||
|
||||
// If value is larger than the unit given or if we're at the last unit:
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue