]> git.pld-linux.org Git - packages/qpid-cpp.git/blame - qpid-cpp-c++.patch
- more fixes in boost patch
[packages/qpid-cpp.git] / qpid-cpp-c++.patch
CommitLineData
1ea345ac
JB
1--- qpidc-0.16/src/tests/qpid-receive.cpp.orig 2012-02-17 15:54:46.000000000 +0100
2+++ qpidc-0.16/src/tests/qpid-receive.cpp 2020-12-13 12:00:09.267640585 +0100
3@@ -131,8 +131,7 @@
4 if (address.empty()) throw qpid::Exception("Address must be specified!");
5 qpid::log::Logger::instance().configure(log);
6 if (help) {
7- std::ostringstream msg;
8- std::cout << msg << *this << std::endl << std::endl
9+ std::cout << *this << std::endl << std::endl
10 << "Drains messages from the specified address" << std::endl;
11 return false;
12 } else {
13--- qpidc-0.16/src/tests/qpid-send.cpp.orig 2011-10-07 16:21:48.000000000 +0200
14+++ qpidc-0.16/src/tests/qpid-send.cpp 2020-12-13 12:22:48.683609330 +0100
15@@ -157,8 +157,7 @@
16 if (address.empty()) throw qpid::Exception("Address must be specified!");
17 qpid::log::Logger::instance().configure(log);
18 if (help) {
19- std::ostringstream msg;
20- std::cout << msg << *this << std::endl << std::endl
21+ std::cout << *this << std::endl << std::endl
22 << "Drains messages from the specified address" << std::endl;
23 return false;
24 } else {
25@@ -237,7 +236,7 @@
26 public:
27 virtual bool setContent(Message& msg) {
28 string content;
29- bool got = getline(std::cin, content);
30+ bool got = !!getline(std::cin, content);
31 if (got) msg.setContent(content);
32 return got;
33 }
This page took 0.065633 seconds and 4 git commands to generate.