X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..729e4ab9bc6618bc3d8a898e575df7f4019e29ca:/icuSources/test/perf/usetperf/usetperf.cpp diff --git a/icuSources/test/perf/usetperf/usetperf.cpp b/icuSources/test/perf/usetperf/usetperf.cpp index 7d5853e9..c75406a1 100644 --- a/icuSources/test/perf/usetperf/usetperf.cpp +++ b/icuSources/test/perf/usetperf/usetperf.cpp @@ -100,17 +100,17 @@ public: virtual UPerfFunction* runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL ){ switch (index) { case 0: name = "titlecase_letter_add"; - if (exec) return new CmdOp(U_TITLECASE_LETTER, CmdOp::add) ; break; + if (exec) return new CmdOp(U_TITLECASE_LETTER, &CmdOp::add) ; break; case 1: name = "titlecase_letter_contains"; - if (exec) return new CmdOp(U_TITLECASE_LETTER, CmdOp::contains) ; break; + if (exec) return new CmdOp(U_TITLECASE_LETTER, &CmdOp::contains) ; break; case 2: name = "titlecase_letter_iterator"; - if (exec) return new CmdOp(U_TITLECASE_LETTER, CmdOp::iterator) ; break; + if (exec) return new CmdOp(U_TITLECASE_LETTER, &CmdOp::iterator) ; break; case 3: name = "unassigned_add"; - if (exec) return new CmdOp(U_UNASSIGNED, CmdOp::add) ; break; + if (exec) return new CmdOp(U_UNASSIGNED, &CmdOp::add) ; break; case 4: name = "unassigned_contains"; - if (exec) return new CmdOp(U_UNASSIGNED, CmdOp::contains) ; break; + if (exec) return new CmdOp(U_UNASSIGNED, &CmdOp::contains) ; break; case 5: name = "unassigned_iterator"; - if (exec) return new CmdOp(U_UNASSIGNED, CmdOp::iterator) ; break; + if (exec) return new CmdOp(U_UNASSIGNED, &CmdOp::iterator) ; break; case 6: name = "pattern1"; if (exec) return new CmdPattern(PAT[0]) ; break; case 7: name = "pattern2";