summaryrefslogtreecommitdiff
path: root/lexiconparameters.h
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2015-07-21 10:18:57 -0500
committerJohn Fultz <jfultz@wolfram.com>2015-07-21 10:18:57 -0500
commitd912747a68c38baa1d19e07067d8c691f29f8198 (patch)
treef221b417220ffe5b6adbf3ca8210c788379d7842 /lexiconparameters.h
parent46fc18d0d167cc6feacfb41fadb207a1234ccc26 (diff)
Visual Studio build maintenance.
* Fix compiler warnings * Add Visual Studio 2013 solution * Tweak .pro files * Most importantly, rename main 'quackle' project to 'libquackle' to avoid solution-level name conflict. This only affects the VS build.
Diffstat (limited to 'lexiconparameters.h')
-rw-r--r--lexiconparameters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexiconparameters.h b/lexiconparameters.h
index 9935f37..612c103 100644
--- a/lexiconparameters.h
+++ b/lexiconparameters.h
@@ -69,12 +69,12 @@ inline bool LexiconParameters::hasSomething() const
inline bool LexiconParameters::hasDawg() const
{
- return m_dawg;
+ return m_dawg != NULL;
}
inline bool LexiconParameters::hasGaddag() const
{
- return m_gaddag;
+ return m_gaddag != NULL;
}
inline unsigned char LexiconParameters::dawgAt(int index) const