From f56bb35301836e56582a575a75864392a0177875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20P=2E=20Tjern=C3=B8?= Date: Mon, 2 Dec 2013 19:31:46 -0800 Subject: Fix line endings. WHAMMY. --- mp/src/public/vallocator.cpp | 72 ++++++++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'mp/src/public/vallocator.cpp') diff --git a/mp/src/public/vallocator.cpp b/mp/src/public/vallocator.cpp index f19fe57a..be717033 100644 --- a/mp/src/public/vallocator.cpp +++ b/mp/src/public/vallocator.cpp @@ -1,36 +1,36 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// -// -// Purpose: -// -// $NoKeywords: $ -// -//=============================================================================// - -#if !defined(_STATIC_LINKED) || defined(_SHARED_LIB) - -#include -#include "vallocator.h" -#include "basetypes.h" - -// memdbgon must be the last include file in a .cpp file!!! -#include "tier0/memdbgon.h" - -VStdAllocator g_StdAllocator; - -void* VStdAllocator::Alloc(unsigned long size) -{ - if(size) - { - void *ret = malloc(size); - return ret; - } - else - return 0; -} - -void VStdAllocator::Free(void *ptr) -{ - free(ptr); -} - -#endif // !_STATIC_LINKED || _SHARED_LIB +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// + +#if !defined(_STATIC_LINKED) || defined(_SHARED_LIB) + +#include +#include "vallocator.h" +#include "basetypes.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +VStdAllocator g_StdAllocator; + +void* VStdAllocator::Alloc(unsigned long size) +{ + if(size) + { + void *ret = malloc(size); + return ret; + } + else + return 0; +} + +void VStdAllocator::Free(void *ptr) +{ + free(ptr); +} + +#endif // !_STATIC_LINKED || _SHARED_LIB -- cgit v1.2.3