Skip to content

Commit 799dba2

Browse files
committed
Missed fixed for Unreal Engine
1 parent 066b806 commit 799dba2

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Src/PipeFiles.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -661,14 +661,14 @@ namespace p
661661
dirWatch->Watch();
662662
}
663663

664-
void GenericWatch::WatchDir(StringView path)
664+
void GenericWatch::WatchDir(StringView pathToWatch)
665665
{
666-
dirWatch->WatchDir(path);
666+
dirWatch->WatchDir(pathToWatch);
667667
}
668668

669-
bool GenericWatch::IsPathInWatches(StringView path) const
669+
bool GenericWatch::IsPathInWatches(StringView pathToCheck) const
670670
{
671-
return dirWatch->IsPathInWatches(path);
671+
return dirWatch->IsPathInWatches(pathToCheck);
672672
}
673673

674674

Src/PipeMath.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ namespace p
7373
float y = value - (2.0f * pi) * quotient;
7474

7575
// Map y to [-pi/2,pi/2] with sin(y) = sin(value).
76-
float sign;
7776
if (y > halfPi)
7877
{
7978
y = pi - y;

Src/PipeSerialize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ namespace p
12371237

12381238
TView<p::u8> BinaryFormatWriter::GetData()
12391239
{
1240-
return {data, size};
1240+
return {data, i32(size)};
12411241
}
12421242

12431243
void BinaryFormatWriter::PreAlloc(u32 offset)

0 commit comments

Comments
 (0)