Skip to content

Commit 71f7fb3

Browse files
authored
strip whitespace (#913)
1 parent cf822fc commit 71f7fb3

File tree

8 files changed

+237
-237
lines changed

8 files changed

+237
-237
lines changed

src/win/AutoHModule.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
Module : AutoHModule.h
3-
Purpose: Defines the interface for a class which supports auto closing of a HMODULE via FreeLibrary and
3+
Purpose: Defines the interface for a class which supports auto closing of a HMODULE via FreeLibrary and
44
setting of the last Win32 error via SetLastError
55
Created: PJN / 10-01-2013
66
@@ -10,11 +10,11 @@ All rights reserved.
1010
1111
Copyright / Usage Details:
1212
13-
You are allowed to include the source code in any product (commercial, shareware, freeware or otherwise)
14-
when your product is released in binary form. You are allowed to modify the source code in any way you want
15-
except you cannot modify the copyright details at the top of each module. If you want to distribute source
16-
code with your application, then you are only allowed to distribute versions released by the author. This is
17-
to maintain a single distribution point for the source code.
13+
You are allowed to include the source code in any product (commercial, shareware, freeware or otherwise)
14+
when your product is released in binary form. You are allowed to modify the source code in any way you want
15+
except you cannot modify the copyright details at the top of each module. If you want to distribute source
16+
code with your application, then you are only allowed to distribute versions released by the author. This is
17+
to maintain a single distribution point for the source code.
1818
1919
*/
2020

@@ -33,17 +33,17 @@ class CAutoHModule
3333
{
3434
public:
3535
//Constructors / Destructors
36-
CAutoHModule() : m_hModule(NULL),
36+
CAutoHModule() : m_hModule(NULL),
3737
m_dwError(ERROR_SUCCESS)
3838
{
3939
}
4040

41-
explicit CAutoHModule(HMODULE hModule) : m_hModule(hModule),
41+
explicit CAutoHModule(HMODULE hModule) : m_hModule(hModule),
4242
m_dwError(GetLastError())
4343
{
4444
}
4545

46-
explicit CAutoHModule(HMODULE hModule, DWORD dwError) : m_hModule(hModule),
46+
explicit CAutoHModule(HMODULE hModule, DWORD dwError) : m_hModule(hModule),
4747
m_dwError(dwError)
4848
{
4949
}
@@ -58,7 +58,7 @@ class CAutoHModule
5858
SetLastError(m_dwError);
5959
}
6060

61-
operator HMODULE()
61+
operator HMODULE()
6262
{
6363
return m_hModule;
6464
}

src/win/AutoHandle.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ All rights reserved.
99
1010
Copyright / Usage Details:
1111
12-
You are allowed to include the source code in any product (commercial, shareware, freeware or otherwise)
13-
when your product is released in binary form. You are allowed to modify the source code in any way you want
14-
except you cannot modify the copyright details at the top of each module. If you want to distribute source
15-
code with your application, then you are only allowed to distribute versions released by the author. This is
16-
to maintain a single distribution point for the source code.
12+
You are allowed to include the source code in any product (commercial, shareware, freeware or otherwise)
13+
when your product is released in binary form. You are allowed to modify the source code in any way you want
14+
except you cannot modify the copyright details at the top of each module. If you want to distribute source
15+
code with your application, then you are only allowed to distribute versions released by the author. This is
16+
to maintain a single distribution point for the source code.
1717
1818
*/
1919

@@ -50,7 +50,7 @@ class CAutoHandle
5050
}
5151

5252
//Methods
53-
operator HANDLE()
53+
operator HANDLE()
5454
{
5555
return m_hHandle;
5656
}

src/win/AutoHeapAlloc.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ All rights reserved.
99
1010
Copyright / Usage Details:
1111
12-
You are allowed to include the source code in any product (commercial, shareware, freeware or otherwise)
13-
when your product is released in binary form. You are allowed to modify the source code in any way you want
14-
except you cannot modify the copyright details at the top of each module. If you want to distribute source
15-
code with your application, then you are only allowed to distribute versions released by the author. This is
16-
to maintain a single distribution point for the source code.
12+
You are allowed to include the source code in any product (commercial, shareware, freeware or otherwise)
13+
when your product is released in binary form. You are allowed to modify the source code in any way you want
14+
except you cannot modify the copyright details at the top of each module. If you want to distribute source
15+
code with your application, then you are only allowed to distribute versions released by the author. This is
16+
to maintain a single distribution point for the source code.
1717
1818
*/
1919

@@ -26,7 +26,7 @@ to maintain a single distribution point for the source code.
2626
#define __AUTOHEAPALLOC_H__
2727

2828

29-
///////////////////////// Includes ////////////////////////////////////////////
29+
///////////////////////// Includes ////////////////////////////////////////////
3030

3131
#include <assert.h>
3232

src/win/disphelper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ typedef CDhComPtr<IUnknown> CUnknownPtr;
436436

437437
#else /* DISPHELPER_USE_MS_SMART_PTR */
438438

439-
#include <comdef.h>
439+
#include <comdef.h>
440440
typedef IDispatchPtr CDispPtr;
441441
typedef IEnumVARIANTPtr CEnumPtr;
442442
typedef IUnknownPtr CUnknownPtr;
@@ -593,7 +593,7 @@ class dhThrowFunctions
593593
dhFormatExceptionW(NULL, szMessage, sizeof(szMessage)/sizeof(szMessage[0]), TRUE);
594594
throw std::wstring(szMessage);
595595
}
596-
596+
597597
static void throw_dhexception() throw(PDH_EXCEPTION)
598598
{
599599
PDH_EXCEPTION pException = NULL;

0 commit comments

Comments
 (0)