git-svn-id: svn://db.shs.com.ru/pip@840 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -430,12 +430,6 @@ CRC_32 & PIObject::__meta_crc() {
|
||||
}
|
||||
|
||||
|
||||
uint PIObject::__string_id(const PIString & s) {
|
||||
if (s.isEmpty()) return 0;
|
||||
return __meta_crc().calculate(s.toByteArray());
|
||||
}
|
||||
|
||||
|
||||
void PIObject::callQueuedEvents() {
|
||||
mutex_queue.lock();
|
||||
PIVector<__QueuedEvent> qe = events_queue;
|
||||
@@ -629,6 +623,6 @@ bool dumpApplicationToFile(const PIString & path) {
|
||||
void PIObject::__MetaData::addScope(const PIString & s) {
|
||||
if (!scope_list.contains(s)) {
|
||||
scope_list << s;
|
||||
scope_id << __string_id(s);
|
||||
scope_id << s.hash();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user