Random Chitchat 2017
This is what choked the compiler:
/** Template for the bindings for the DoWithXYZAt(X, Y, Z) functions that need to check their coords. */
template <
	class SELF,
	class ITEM,
	bool (SELF::*DoWithFn)(int, int, int, cItemCallback<ITEM> &),
	bool (SELF::*CoordCheckFn)(int, int, int) const = nullptr
>
static int DoWithXYZ(lua_State * tolua_S)
{
	...

I was hoping that this template would work with the old code that has no CoordCheckFn specification. So far the only solution I was able to find is to split the template definition into two - the old code without the CoordCheckFn, and a new one with CoordCheckFn that has no default. Seems to be working now, but I'm not too happy about the code duplication.
Thanks given by:
I think I've just fixed the longest-standing memory leak we've had. It could very well be the cause of the Gallery server's growing memory usage that we've been seeing.
https://github.com/cuberite/cuberite/pull/3794

This caused about 70 KiB of RAM leaked per server "ping".
Thanks given by:
"The Hidden Combination"

[Image: attachment.php?aid=748]


Attached Files
.jpg   WP_20170709_002.jpg (Size: 336.69 KB / Downloads: 426)
Thanks given by:
So your calculator has all the letters except for the T? I find that hard to believe Smile
Thanks given by:
(Also, welcome back)
Thanks given by: tigerw
Take your pick, I suppose.

[Image: attachment.php?aid=749]


Attached Files
.jpg   WP_20170713_006.jpg (Size: 621.85 KB / Downloads: 504)
Thanks given by:
Summer dance school, yay! Smile
Thanks given by:
https://youtu.be/W2w4veUv-Vc

You could do better screen capturing from the phone, but I even noticed a slight spike in the downloadsTongue but still nothing to he proud of
Thanks given by:
We were featured! yay!

It looks like the webadmin might need a viewport tag for mobile PCs.
Thanks given by:
Featured? Where? How?
Thanks given by:




Users browsing this thread: 6 Guest(s)