Browse code

apps/ivr: fixed compilation

- At least on my Debian squeeze, std:: prefix is needed in front of set.

Juha Heinanen authored on 26/03/2013 12:42:57
Showing 1 changed files
... ...
@@ -439,7 +439,7 @@ int IvrFactory::onLoad()
439 439
 
440 440
   DBG("directory '%s' opened\n",script_path.c_str());
441 441
 
442
-  set<string> unique_entries;
442
+  std::set<string> unique_entries;
443 443
   regmatch_t  pmatch[2];
444 444
 
445 445
   struct dirent* entry=0;
... ...
@@ -457,7 +457,7 @@ int IvrFactory::onLoad()
457 457
   regfree(&reg);
458 458
 
459 459
   AmPlugIn* plugin = AmPlugIn::instance();
460
-  for(set<string>::iterator it = unique_entries.begin();
460
+  for(std::set<string>::iterator it = unique_entries.begin();
461 461
       it != unique_entries.end(); it++) {
462 462
 
463 463
     if(loadScript(*it)){