Skip to content
  • Kenneth Moreland's avatar
    Remove static assert from templated function · 05843985
    Kenneth Moreland authored
    There was a static assert in a templated function that was never
    supposed to be used. Some compilers were fine as long as there was no
    use of the templated function, but others errored out anyway. Change the
    implementation to use the =delete keyword instead.
    
    This won't have as nice of an error message, but you would have to jump
    through some hoops to get to this point anyway. If this still does not
    work, we could just probably remove the invalid templated function. The
    compiler error would get even more obfuscated, but again I don't expect
    anyone to actually run into it.
    05843985