[Libreoffice-commits] online.git: common/UnitHTTP.hpp
Miklos Vajna
vmiklos at collabora.co.uk
Tue May 22 07:13:00 UTC 2018
common/UnitHTTP.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eedfe0add48d2942be548c26496f86c1413fb2d8
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue May 22 09:12:29 2018 +0200
UnitHTTP: make sure function defined in header is inline to avoid ODR violation
Change-Id: If81ecbe1a73a73c093614f0ad5285558302e13d0
diff --git a/common/UnitHTTP.hpp b/common/UnitHTTP.hpp
index 32f2b7416..9ff24caab 100644
--- a/common/UnitHTTP.hpp
+++ b/common/UnitHTTP.hpp
@@ -114,7 +114,7 @@ public:
namespace UnitHTTP
{
- Poco::Net::HTTPClientSession* createSession()
+ inline Poco::Net::HTTPClientSession* createSession()
{
// HTTP forced in configure hook.
return new Poco::Net::HTTPClientSession ("127.0.0.1",
More information about the Libreoffice-commits
mailing list