Skip to content

Commit d9b402e

Browse files
author
Allen Winter
committed
minor formatting issues for CMake and C++
1 parent 074a973 commit d9b402e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ find_path(BOOST_OPTIONAL_DIR NAMES boost/optional.hpp)
122122
if(BOOST_OPTIONAL_DIR)
123123
message(STATUS "Found boost/optional.hpp in ${BOOST_OPTIONAL_DIR}")
124124
include_directories(${BOOST_OPTIONAL_DIR})
125-
add_definitions(-DBOOST_OPTIONAL_FOUND)# I'd really prefer using configure_file but this is more compatible with qmake
125+
add_definitions(-DBOOST_OPTIONAL_FOUND)
126126
endif()
127127

128128
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)

src/KDSoapServer/KDSoapServerObjectInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class KDSOAPSERVER_EXPORT KDSoapServerObjectInterface
6969
virtual ~KDSoapServerObjectInterface();
7070

7171
KDSoapServerObjectInterface(const KDSoapServerObjectInterface &) = delete;
72-
KDSoapServerObjectInterface &operator =(const KDSoapServerObjectInterface &) = delete;
72+
KDSoapServerObjectInterface &operator=(const KDSoapServerObjectInterface &) = delete;
7373

7474
/**
7575
* Handle \p request and return \p response.

src/KDSoapServer/KDSoapServerSocket.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,13 +430,13 @@ bool KDSoapServerSocket::handleFileDownload(KDSoapServerObjectInterface *serverO
430430
Q_UNUSED(written);
431431

432432
char block[4096] = {0};
433-
//qint64 totalRead = 0;
433+
// qint64 totalRead = 0;
434434
while (!device->atEnd()) {
435435
const qint64 in = device->read(block, sizeof(block));
436436
if (in <= 0) {
437437
break;
438438
}
439-
//totalRead += in;
439+
// totalRead += in;
440440
if (in != write(block, in)) {
441441
// error = true;
442442
break;

0 commit comments

Comments
 (0)