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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user