Преглед изворни кода

Addressed compiler warning, removed unused variables.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@87 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz пре 9 година
родитељ
комит
2992ac8557
2 измењених фајлова са 7 додато и 11 уклоњено
  1. 5
    9
      child.cpp
  2. 2
    2
      child.hpp

+ 5
- 9
child.cpp Прегледај датотеку

@@ -41,8 +41,8 @@ namespace CodeDweller {
ChildStream::ChildStream(std::vector<std::string> const &args,
size_t bufSize) :
childStreambuf(bufSize),
std::iostream(&childStreambuf),
childStreambuf(bufSize),
cmdArgs(args) {
init();
@@ -51,8 +51,8 @@ namespace CodeDweller {
}
ChildStream::ChildStream(std::string const &childpath, size_t bufSize) :
childStreambuf(bufSize),
std::iostream(&childStreambuf) {
std::iostream(&childStreambuf),
childStreambuf(bufSize) {
cmdArgs.push_back(childpath);
init();
@@ -60,8 +60,8 @@ namespace CodeDweller {
}
ChildStream::ChildStream(size_t bufSize) :
childStreambuf(bufSize),
std::iostream(&childStreambuf) {
std::iostream(&childStreambuf),
childStreambuf(bufSize) {
init();
}
@@ -1341,8 +1341,6 @@ namespace CodeDweller {
CodeDweller::PollTimer pollTimer(nominalPollTime_ms, maximumPollTime_ms);
auto sleepTime = std::chrono::milliseconds(maximumPollTime_ms);
while (!stopFlag) {
char *bufferPtr;
@@ -1440,8 +1438,6 @@ namespace CodeDweller {
CodeDweller::PollTimer pollTimer(nominalPollTime_ms, maximumPollTime_ms);
auto sleepTime = std::chrono::milliseconds(maximumPollTime_ms);
while (!stopFlag) {
char *bufferPtr;

+ 2
- 2
child.hpp Прегледај датотеку

@@ -1151,8 +1151,8 @@ namespace CodeDweller {
This method checks whether an error occurred when
communicating with the child process.

\param[out] errorDescription contains any description of the
error.
\param[out] errorDescription contains the description of any
error that occurred.

\returns true if an error occurred, false otherwise.


Loading…
Откажи
Сачувај