ソースを参照

Move things around slightly so the compiler can track cc

tags/v1.4.90
Pierre Ossman 9年前
コミット
86475a684d
2個のファイルの変更10行の追加0行の削除
  1. 5
    0
      tests/decperf.cxx
  2. 5
    0
      tests/encperf.cxx

+ 5
- 0
tests/decperf.cxx ファイルの表示

@@ -147,7 +147,12 @@ static double runTest(const char *fn)

try {
cc = new CConn(fn);
} catch (rdr::Exception e) {
fprintf(stderr, "Failed to open rfb file: %s\n", e.str());
exit(1);
}

try {
while (true)
cc->processMsg();
} catch (rdr::EndOfStream e) {

+ 5
- 0
tests/encperf.cxx ファイルの表示

@@ -339,7 +339,12 @@ static double runTest(const char *fn, double& ratio, unsigned long long& bytes,

try {
cc = new CConn(fn);
} catch (rdr::Exception e) {
fprintf(stderr, "Failed to open rfb file: %s\n", e.str());
exit(1);
}

try {
while (true)
cc->processMsg();
} catch (rdr::EndOfStream e) {

読み込み中…
キャンセル
保存