Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

carb

Singleton Help - Enginuity II

This topic is 5383 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m having difficulty with the implementation of the singleton in Enginuity II (http://www.gamedev.net/reference/articles/article1954.asp) ... I use this design pattern for two classes in my program. One of these classes, works properly. The other doesn''t. In fact, assert crashes the program once it starts (during the call to the GetSingleton() function) ... If I re-arrange the order of these two class declarations, or remove the working one altogether, assert continues to halt the program. Anyone have any clues as to why this design pattern could work for one class, but not another, in this context? I''m stumped. - Ben

Share this post


Link to post
Share on other sites
Advertisement
Nevermind, I''m a dolt. But in my defense, writing about problems in this fashion always helps me solve them

- Ben

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!