Skip to content

Fix Log<T>::get() usage typo#55

Open
wishstudio wants to merge 1 commit into
dominikschnitzer:masterfrom
wishstudio:master
Open

Fix Log<T>::get() usage typo#55
wishstudio wants to merge 1 commit into
dominikschnitzer:masterfrom
wishstudio:master

Conversation

@wishstudio
Copy link
Copy Markdown

Fixed a small typo in minilog.h unused template code. It now causes compilation error in gcc15:

In file included from /build/source/libmusly/methods/mandelellis.cpp:15:
/build/source/include/minilog.h: In static member function 'static minilog_level Log<T>::from_string(const std::string&)':
/build/source/include/minilog.h:201:18: error: 'class Log<T>' has no member named 'Get'; did you mean 'get'? [-Wtemplate-body]
  201 |         Log<T>().Get(logWARNING) << "Unknown logging level '" << level
      |                  ^~~
      |                  get

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant