From 017ff4c3c785c4ad9432c6f4bc1b9281ca18d5e9 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Tue, 17 May 2011 21:05:49 +0000 Subject: QPID-2905 - Misc. code cleanup to allow compilation on a wider set of compilers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1104560 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/windows/QpiddBroker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/src/windows') diff --git a/qpid/cpp/src/windows/QpiddBroker.cpp b/qpid/cpp/src/windows/QpiddBroker.cpp index e221551575..50bb45979c 100644 --- a/qpid/cpp/src/windows/QpiddBroker.cpp +++ b/qpid/cpp/src/windows/QpiddBroker.cpp @@ -155,7 +155,7 @@ NamedSharedMemory::NamedSharedMemory(const std::string& n) : name(n), memory(NULL), data(0) -{}; +{} template NamedSharedMemory::~NamedSharedMemory() { @@ -163,7 +163,7 @@ NamedSharedMemory::~NamedSharedMemory() { ::UnmapViewOfFile(data); if (memory != NULL) ::CloseHandle(memory); -}; +} template T& NamedSharedMemory::create() { -- cgit v1.2.1