Commit 7f5b181a authored by Laurent Belcour's avatar Laurent Belcour

Small changes to the interface, so that it compiles fine on all platforms.

The transition to ptr<> based interface is in progress, but I won't do the
switch right away.
parent 790797f3
......@@ -47,13 +47,6 @@ class plugins_manager
static
#endif
function* get_function(const arguments& args) ;
//! \brief get an instance of the function that is defined in the plugin with
//! filename n. Return null if no one exist.
#ifdef USING_STATIC
static
#endif
ptr<function> get_function(const arguments& args) ;
//! \brief load a function from the ALTA input file.
#ifdef USING_STATIC
......
......@@ -14,7 +14,7 @@
/* Checking for the presence of C++11 features like smart pointers. There
* is no clean way to do it for all compilers. This method is supposed to
* work with CLANG and GCC > 4.3.
* work with CLANG and GCC.
*
* See htpp://stackoverflow.com/questions/11886288/
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment