Skip to content

Commit 496c72e

Browse files
committed
removed temporary traces, making this a release candidate for v1.0.2
1 parent 31e4edf commit 496c72e

6 files changed

Lines changed: 0 additions & 34 deletions

File tree

SKSE/Plugins/doticu_skypal.dll

-12 KB
Binary file not shown.

Scripts/skypal.pex

0 Bytes
Binary file not shown.

Scripts/skypal_bases.pex

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Scripts/skypal_references.pex

0 Bytes
Binary file not shown.

Source/Plugins/doticu_skypal/src/references.cpp

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636
#include "doticu_skypal/main.h"
3737
#include "doticu_skypal/references.h"
3838

39-
//temp
40-
#include "doticu_skylib/virtual_debug.h"
41-
//
42-
4339
namespace doticu_skypal {
4440

4541
String_t References_t::Class_Name()
@@ -89,32 +85,6 @@ namespace doticu_skypal {
8985
#undef STATIC
9086
}
9187

92-
//temp
93-
void Test_For_Dupes(Vector_t<Reference_t*>& refs)
94-
{
95-
for (size_t idx = 0, end = refs.size(); idx < end; idx += 1) {
96-
maybe<Reference_t*> reference = refs[idx];
97-
SKYLIB_ASSERT_SOME(reference);
98-
99-
size_t count = 0;
100-
for (size_t idx = 0, end = refs.size(); idx < end; idx += 1) {
101-
if (refs[idx] == reference) {
102-
count += 1;
103-
}
104-
}
105-
106-
if (count > 1) {
107-
std::string note =
108-
std::string("SkyPal: FOUND A DUPLICATE") +
109-
" [" + reference->form_id.As_String() + " - " + reference->Any_Name() + "]";
110-
skylib::Virtual::Debug_t::Trace(note, 2, none<V::Callback_i*>());
111-
} else {
112-
skylib::Virtual::Debug_t::Trace("SkyPal: no duplicates found.", 0, none<V::Callback_i*>());
113-
}
114-
}
115-
}
116-
//
117-
11888
/* Getters */
11989

12090
Vector_t<Reference_t*> References_t::All()
@@ -397,10 +367,6 @@ namespace doticu_skypal {
397367
Filter::Keywords_t<Reference_t*>(state).OR<Vector_t<some<Keyword_t*>>&>(some_keywords);
398368
}
399369

400-
//temp
401-
Test_For_Dupes(*state.Results());
402-
//
403-
404370
return *state.Results();
405371
}
406372

0 commit comments

Comments
 (0)