2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-06 00:37:26 +00:00

Fix more gcc compilation issues

This commit is contained in:
Jan
2021-03-03 09:12:27 -08:00
parent a15fd17dfe
commit 1a45cf2107
84 changed files with 786 additions and 713 deletions

View File

@@ -3,12 +3,12 @@
#pragma once
#include <cassert>
#include "Utils/ClassUtils.h"
#include <streambuf>
#include <iostream>
#include <memory>
#include "Utils/ClassUtils.h"
template <class Elem, class Traits>
class basic_objbuf : public std::basic_streambuf<Elem, Traits>
{
@@ -50,7 +50,7 @@ public:
void swap(basic_objstream& right) noexcept
{
if (this != _STD addressof(right))
if (this != std::addressof(right))
{
mybase::swap(right);
m_ob = std::move(right.m_ob);
@@ -115,7 +115,7 @@ public:
void swap(basic_iobjstream& right) noexcept
{
if (this != _STD addressof(right))
if (this != std::addressof(right))
{
mybase::swap(right);
m_ob = std::move(right.m_ob);
@@ -180,7 +180,7 @@ public:
void swap(basic_oobjstream& right) noexcept
{
if (this != _STD addressof(right))
if (this != std::addressof(right))
{
mybase::swap(right);
m_ob = std::move(right.m_ob);