diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-09-13 20:04:24 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-09-13 20:04:24 (GMT) |
commit | deb6a1ebf43f458b720abbc6a7180e9a8e04771a (patch) | |
tree | ecff64e1eb70e43ff15b93de2f98953cfadd0067 /src/Remember.cc | |
parent | f6af17aa58701cdb579cca52ac83edf289e118e7 (diff) | |
download | fluxbox_pavel-deb6a1ebf43f458b720abbc6a7180e9a8e04771a.zip fluxbox_pavel-deb6a1ebf43f458b720abbc6a7180e9a8e04771a.tar.bz2 |
code simplification
we do not need a std::map just to store an attribute on an AtomHandler,
it makes housekeeping just more annoying.
Diffstat (limited to 'src/Remember.cc')
-rw-r--r-- | src/Remember.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Remember.cc b/src/Remember.cc index 54b5b0d..ef5e7d9 100644 --- a/src/Remember.cc +++ b/src/Remember.cc | |||
@@ -617,6 +617,8 @@ Remember::Remember(): | |||
617 | m_pats(new Patterns()), | 617 | m_pats(new Patterns()), |
618 | m_reloader(new FbTk::AutoReloadHelper()) { | 618 | m_reloader(new FbTk::AutoReloadHelper()) { |
619 | 619 | ||
620 | setName("remember"); | ||
621 | |||
620 | if (s_instance != 0) | 622 | if (s_instance != 0) |
621 | throw string("Can not create more than one instance of Remember"); | 623 | throw string("Can not create more than one instance of Remember"); |
622 | 624 | ||