]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/perf/usetperf/usetperf.cpp
ICU-461.12.tar.gz
[apple/icu.git] / icuSources / test / perf / usetperf / usetperf.cpp
index 7d5853e9b0c1d8459a2b43be999b65a1d56b8928..c75406a1ec4d9305a75be1fd68686c7d60f2f5d0 100644 (file)
@@ -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";