diff options
Diffstat (limited to 'intern/audaspace/intern/AUD_Set.cpp')
-rw-r--r-- | intern/audaspace/intern/AUD_Set.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/intern/audaspace/intern/AUD_Set.cpp b/intern/audaspace/intern/AUD_Set.cpp index d65f5e34a5f..2ab576cbd07 100644 --- a/intern/audaspace/intern/AUD_Set.cpp +++ b/intern/audaspace/intern/AUD_Set.cpp @@ -28,38 +28,38 @@ void *AUD_createSet() { - return new std::set<void *>(); + return new std::set<void *>(); } void AUD_destroySet(void *set) { - delete reinterpret_cast<std::set<void *>*>(set); + delete reinterpret_cast<std::set<void *> *>(set); } char AUD_removeSet(void *set, void *entry) { - if (set) - return reinterpret_cast<std::set<void *>*>(set)->erase(entry); - return 0; + if (set) + return reinterpret_cast<std::set<void *> *>(set)->erase(entry); + return 0; } void AUD_addSet(void *set, void *entry) { - if (entry) - reinterpret_cast<std::set<void *>*>(set)->insert(entry); + if (entry) + reinterpret_cast<std::set<void *> *>(set)->insert(entry); } void *AUD_getSet(void *set) { - if (set) { - std::set<void *>* rset = reinterpret_cast<std::set<void *>*>(set); - if (!rset->empty()) { - std::set<void *>::iterator it = rset->begin(); - void *result = *it; - rset->erase(it); - return result; - } - } + if (set) { + std::set<void *> *rset = reinterpret_cast<std::set<void *> *>(set); + if (!rset->empty()) { + std::set<void *>::iterator it = rset->begin(); + void *result = *it; + rset->erase(it); + return result; + } + } - return (void*) 0; + return (void *)0; } |