Skip to content

Commit 204d752

Browse files
committed
fixing merge issues
1 parent 3decad2 commit 204d752

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

encoder/basisu_pvrtc1_4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ namespace basisu
235235
#pragma GCC diagnostic push
236236
#pragma GCC diagnostic ignored "-Wclass-memaccess"
237237
#endif
238-
#endif
238+
239239
memset(m_blocks.get_ptr(), 0, m_blocks.size_in_bytes());
240240
#if defined(__GNUC__) && !defined(__clang__)
241241
#pragma GCC diagnostic pop

transcoder/basisu_containers.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,15 +1507,13 @@ namespace basisu
15071507
#if defined(__GNUC__) && !defined(__clang__)
15081508
#pragma GCC diagnostic push
15091509
#pragma GCC diagnostic ignored "-Wclass-memaccess"
1510-
#endif
15111510
#endif
15121511
if ((m_p) && (other.m_p))
15131512
{
15141513
memcpy(m_p, other.m_p, m_size * sizeof(T));
15151514
}
15161515
#if defined(__GNUC__) && !defined(__clang__)
15171516
#pragma GCC diagnostic pop
1518-
#endif
15191517
#endif
15201518
}
15211519
else
@@ -1650,13 +1648,11 @@ namespace basisu
16501648
#if defined(__GNUC__) && !defined(__clang__)
16511649
#pragma GCC diagnostic push
16521650
#pragma GCC diagnostic ignored "-Wclass-memaccess"
1653-
#endif
16541651
#endif
16551652
if ((m_p) && (other.m_p))
16561653
memcpy((void *)m_p, other.m_p, other.m_size * sizeof(T));
16571654
#if defined(__GNUC__) && !defined(__clang__)
16581655
#pragma GCC diagnostic pop
1659-
#endif
16601656
#endif
16611657
}
16621658
else
@@ -2239,7 +2235,6 @@ namespace basisu
22392235

22402236
#if defined(__GNUC__) && !defined(__clang__)
22412237
#pragma GCC diagnostic pop
2242-
#endif
22432238
#endif
22442239
}
22452240
else
@@ -2488,13 +2483,11 @@ namespace basisu
24882483
#if defined(__GNUC__) && !defined(__clang__)
24892484
#pragma GCC diagnostic push
24902485
#pragma GCC diagnostic ignored "-Wclass-memaccess"
2491-
#endif
24922486
#endif
24932487
memset(m_p, *reinterpret_cast<const uint8_t*>(&o), m_size);
24942488

24952489
#if defined(__GNUC__) && !defined(__clang__)
24962490
#pragma GCC diagnostic pop
2497-
#endif
24982491
#endif
24992492
}
25002493
else

0 commit comments

Comments
 (0)