Dav1dde / gl3n

OpenGL Maths for D (not glm for D).
http://dav1dde.github.com/gl3n/
Other
103 stars 49 forks source link

Fixed deprecated reference; std.typecons.TypeTuple -> std.meta.AliasSeq #69

Closed lcodes closed 8 years ago

lcodes commented 8 years ago

Hello! I'm using the head version of the dmd compiler and this deprecated symbol has been removed from the standard library.

This fix uses the new symbol as a private alias to the old so the module has minimal changes to it.

Emacs also happened to fix some trailing whitespace on the way..

lcodes commented 8 years ago

Turns out the std.meta module is pretty recent, added a compile-time condition using std.compiler's version with a fallback on the previous std.typetuple.

Also damn, I wrote my commit message with std.typecons, but it was std.typetuple... oops!

Dav1dde commented 8 years ago

Thank you!

lcodes commented 8 years ago

No problem! Will you also push it to the dub registry?

Dav1dde commented 8 years ago

Sorry I forgot .. it's 1.3 on dub!

lcodes commented 8 years ago

Thanks!